-
New Feature
-
Resolution: Fixed
-
Major
-
None
-
Dependant matrix builds across Linux and Solaris
When a downstream build is in progress, Hudson should prevent the upstream builds from occurring until the downstream build is complete.
For example:
CompA->CompB->CompC->CompD
If component C is building Hudson should block builds on A and B, until C has finished.
It should then rebuild A, B and C before allowing D to proceed.
As the current system stands, if a user presses "build now" on component A when component C is building, A builds immediately. This can be worked around in part by using the locks & latches plugin, but this has the side affect of disabling parallel Matrix builds which massively increases the build time (see JENKINS-2725). Further, it should NOT be necessary to use ANY plugins to provide this fundamental behaviour.
[JENKINS-7046] Block Build when downstream project is building
Issue Type | Original: Bug [ 1 ] | New: New Feature [ 2 ] |
Summary | Original: Hudson not correctly blocking downstream builds when upstream builds in progress | New: Block Build when downstream project is building |
Have you tried the 'Block build when upstream project is building' option in the 'Advanced project options' section of the configuration page of your job ? It does exactly what you appear to request, and we've been using it in my company successfully for quite a while now.