Hello,

I have a pipeline like such:
 
              __-> test-a
             /                \_____-> test-end
test-start                 /
             \__-> test-b


I would like to have test-start trigger test-a and test-b to run in 
parallel, then trigger test-end *one time *when both have finished. I know 
this can be accomplished using the "Join" plugin, but I also want this 
additional behavior too:

When test-a or test-b are triggered by scm changes or "build now" (not from 
test-start), I would like test-end to be triggered. Are there plugins out 
there to handle multiple entry points like this?

I want to avoid writing a system groovy script that checks the build cause 
and does logic to see if it's the last of the parallel jobs to finish, so 
that it can trigger test-end...or the other case when test-a/test-b wasn't 
triggered by test-start, so test-end should be triggered.

I suppose I could configure the join plugin and write a slightly smaller 
groovy script to handle mid-way entries...

Thanks,
Xavier

-- 
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/d/optout.

Reply via email to