Aha, yes the switch in my screenshot only satisfies the first part of 2. Downstream subjobs run but the parent job still is marked as FAILED--at least in the multijob I'm working with.
There doesn't seem to be another switch to suppress the subjob's failure bubbling up to the overall status in the parent. On Thursday, May 21, 2015 at 12:03:34 AM UTC-7, Radu Codrin Leterna wrote: > > This is not exactly what I am trying to accomplish. I need to do the > following: > 1. Have one main job with 5 sub-jobs in a MultiJob Phase > 2. If one particular sub-job fails, just ignore that result, run all other > sub-jobs and DO NOT MARK the main job as failed based on that particular > sub-job result. > > Not sure if Jenkins can do that, even with the help of plugins. I might > have to modify the sub-job to PASS every time... so it does not mark the > parent as FAILED. > > On Wednesday, May 20, 2015 at 6:58:45 PM UTC+3, Brian Ray wrote: >> >> >> <https://lh3.googleusercontent.com/-8aepTvtIBMU/VVyvKKfZ9fI/AAAAAAAAAJc/Y9rtv4yOuSU/s1600/SS-2015-05-20_08.54.32.png> >> Darnit, pasting my screenshot didn't work. Let me try again: >> >> >> >> On Wednesday, May 20, 2015 at 8:56:42 AM UTC-7, Brian Ray wrote: >>> >>> Assuming you're using the multijob plugin, be sure to set this field to >>> *Completed* for this subproject (phase) in question: >>> >>> >>> >>> On Wednesday, May 20, 2015 at 8:05:10 AM UTC-7, Radu Codrin Leterna >>> wrote: >>>> >>>> Hello, >>>> >>>> I need to setup a main job that will trigger a couple sub-jobs. >>>> I am using a multijob-phase to trigger the sub-projects. The >>>> requirement is to ignore the result from *one* of the sub-jobs >>>> (whether it fails or passes, the parent should just ignore that). >>>> >>>> How can this be accomplished? >>>> >>> -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bb2850c9-5e68-421f-b25d-fab9d8d00b5d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
