How can I cause a multi-config jenkins job to fail if one or more _multiple jobs_ are all not successful? -
this question has reply here:
how create jenkins job start after multiple simultaneous upstream jobs succeed? 6 answersi need run jenkins job, must fail if 5 other jobs successful. needs fail or reject run unless 5 of upstream jobs have 'success' status.
this multi-configuration job , need check run on master before branches off multiple slaves.
therefore, need enable me to, upon firing particular multi-configuration job off, check 5 upstream jobs success or failure, , if 1 of them not successful, fail before job splits off multiple slave runs.
edit: to clear, not asking trigger. asking way create job fail if other jobs not greenish (i.e., lastly runs successful). cannot build step because multi-configuration job , i'd rather not have different configurations each check before run.
look @ this question similar. @ script trigger plugin allow poll jobs want script, can check status.
jenkins
No comments:
Post a Comment