-
Improvement
-
Resolution: Fixed
-
Major
-
None
When using gerrit-trigger to trigger a build from Gerrit, gerrit-trigger should have support for waiting for downstream jobs to complete (and take those into considerations).
The use case is to have a build job followed by a test job (if the build completes), but currently gerrit-trigger will report success as soon as the build job finishes.
The work-around is to create a wrapper job that uses parameterized trigger to start a "blocking" build of the build job, followed by a "blocking" build of the test job. The downside of this is that the wrapper occupies a slot on an executor, even though it just blocks, and that the output in gerrit doesn't clearly indicate if building or testing failed.