Is there any good solution to trigger build of downstream projects on a 
Multi-configuration project?

Since I want the upstream project to fail when the downstream project 
fails, I need to use the Build Step "Trigger/call builds on other projects" 
with Blocking.

Problem with this on a multi-configuration project is the downstream build 
will execute for each matrix configuration. That is redundant. My hack is 
to use a Conditional build-step, set up to run only on one of the matrix 
configuration. Would be great if each matrix configuration could have build 
result SUCCESS, while the matrix parent has FAILED if any of the downstream 
projects fails.

I know a Groovy Postbuild script can be run on only matrix parent. However 
since the build is set to completed at this stage any trigger cannot change 
the build result.

Triggering build on post-build-step has the advantage that is runs only on 
Matrix parent, not on each matrix configurations. I wish I could use that 
and also have the blocking feature of the build-step trigger.

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/dc1e9347-2e91-49b3-a61c-6a2f2499986d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to