Project

Profile

Help

Task #7365

Change name=$target to name="build_$box-$datestr" in build job

Added by Mark Zaslavskiy over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Timofey Turenko
Category:
jenkins_jobs
Sprint/Milestone:
Start date:
09.08.2016
Due date:
% Done:

0%

Estimated time:
0:30 h
Target branch:
Test scenario:

https://github.com/mariadb-corporation/maxscale-jenkins-jobs/pull/39

https://github.com/mariadb-corporation/build-scripts-vagrant/pull/10/files
Test scenario:

Example job created on maxscale-jenkins
http://maxscale-jenkins.mariadb.com:8090/view/All/job/build/configure

Run build job
Abort or fail build job

Expected result:
- cleanup should be triggered
- parameter name=$box-$JOB_NAME-$BUILD_NUMBER
Example
http://maxscale-jenkins.mariadb.com:8090/job/cleanup/12/parameters/


Description

А как работает cleanup для build? в build вставлен вызов cleanup и передается параметр name=$target. Но скрип build формирует имя конфирурации вот так: name="build_$box-$datestr" Я что-то не понимаю, как очистка должна работать тут

History

#1 Updated by Mark Zaslavskiy over 5 years ago

  • Estimated time set to 0:30 h

#2 Updated by Mark Zaslavskiy over 5 years ago

  • Status changed from New to Active / In progress

#3 Updated by Mark Zaslavskiy over 5 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Mark Zaslavskiy to Timofey Turenko
  • Test scenario updated (diff)

#4 Updated by Mark Zaslavskiy over 5 years ago

  • Test scenario updated (diff)

#5 Updated by Mark Zaslavskiy over 5 years ago

  • Status changed from Review to Testing

#6 Updated by Mark Zaslavskiy over 5 years ago

  • Status changed from Testing to Active / In progress
  • Assignee changed from Timofey Turenko to Mark Zaslavskiy

#7 Updated by Mark Zaslavskiy over 5 years ago

15:34] 
timofey.turenko случился следующий баг: замена datastr на name="$box-$JOB_NAME-$BUILD_NUMBER" сломало build_all и все *matrix test

[15:34] 
так как в случае мультиджоба $JOB_NAME содержит слеш

[15:35] 
быстрый фикс name=`echo $name | sed "s|/|-|g", но это похоже сломало очестку vagrant_lock

[15:36] 
сейчас в build руками вставлено name=`echo $name | sed "s|/|-|g", нам сейчас надо собрать 2.0 , но надо с этим разобраться

#9 Updated by Mark Zaslavskiy over 5 years ago

  • Status changed from Active / In progress to Testing
  • Assignee changed from Mark Zaslavskiy to Timofey Turenko

#10 Updated by Timofey Turenko over 5 years ago

  • Status changed from Testing to Closed

Also available in: Atom PDF