Reputation: 823
I am using Jenkins. There is a multijob that calls some jobs. I can stop the execution of this multijob (both manually and by timeout, using Build-timeout plugin). Nevertheless, the jobs running by the current multijob, don’t cease its execution even in case of interruption of the multijob. Is there a way to make it so, that upon the forced shutdown of multijob, those jobs that were initiated would also cease working?
Thanks for the assistance.
Upvotes: 3
Views: 1873
Reputation: 3744
Yes there is a option in multi job upstream job configuration to "Abort all other jobs"
have configured two child jobs. I have aborted parent job and it in turn aborted 2 child jobs
Try the same and feel free to revert in case you need additional information
Your multi job can have many multi phase's , we can make the multi project run other multi phase only when its previous multi phase is successful.
Bu enabling this if any child jobs fail in above phases the main job will automatically fail.
Upvotes: 1