Jenkins: Aborting Quests in Multiplayer Mode

I am using Jenkins. There is a multiplayer mode that brings up some tasks. I can stop the execution of this multijob (either manually or by timeout using the Build-timeout plugin ). However, jobs executed by the current multijob do not terminate even if the multijob is interrupted. Is there a way to do this so that after the forced termination of multi-user work, those jobs that were started also stop working?

Thanks for the help.

+3


source to share


1 answer


Yes, there is an option in the multi-job job setup to "Cancel all other jobs"

enter image description here

set up two child jobs. I canceled the parent job and in turn aborted 2 child jobs

enter image description here



Try to do the same and feel free to come back if you need more information.

Your multi-user job can have multi-phase, we can make a multi-phase project another multi-phase only when its previous multi-phase operation is successful.

enter image description here

Bu allowing this, if any child jobs are not executed in the above phases, the main job will automatically fail.

+1


source







All Articles