Use guard/rescue.
guard {
parallel (
{ build("jobA", ...) },
{ build("jobB", ...) },
...
)
} rescue {
build("jobC", ...)
}
That's how I've dealt with it. See "Guard / Rescue" on the Build Flow
Plugin page in the Jenkins wiki:
https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin
Ben
On Wed, Jul 3, 2013 at 7:06 PM, Slide <[email protected]> wrote:
> I am using the build flow plugin, which I have to say is incredible, so
> thanks! I had a question about how I can have something ALWAYS run after a
> set of parallel builds. I have something like the following:
>
> parallel (
> { build("jobA", ...) },
> { build("jobB", ...) },
> ...
> )
>
> build("jobC", ...)
>
> I want to make sure that jobC is ALWAYS built regardless of the outcome of
> the other jobs, but it seems like if one of the jobs inside the parallel
> fails, then the jobs outside don't run. Do I just need to wrap the whole
> parallel in an ignore {} ?
>
> Thanks!
>
> slide
>
> --
> Website: http://earl-of-code.com
>
> --
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
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].
For more options, visit https://groups.google.com/groups/opt_out.