-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
I have a parent job, which triggers child1 and child2 Jobs through this plugin. I have set the "Fail this build step if the triggered build is worse or equal to: UNSTABLE" on the first child.
When child1 fails with status UNSTABLE, I would expect the parent to also stop, but it still triggers the child2 job.
I would say that this is the intended behaviour, as the plugin will try and build all triggers regardless of the results of each trigger. This is required in some cases where all of the child projects need to run but have different sets of parameters.
If you have the second child job not run if the first fails add a separate second trigger build step for that project which will not run as the first build step will have caused the build to fail.
trigger buildstep 1
child 1
parameters
fail step if triggered project fails.
trigger buildstep 2
child 2
other options