Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-11409

Gerrit-trigger should support waiting for downstream jobs of triggered builds

XMLWordPrintable

      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.

            rsandell rsandell
            jorgenpt Jørgen Tjernø
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: