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

Add a project option to let a job wait in queue if one of its upstream projects is building

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major Major
    • other
    • None
    • Platform: All, OS: All

      Add a project configuration option to achieve the following behaviour (or keep
      the normal).
      Project A (downstream) depends on project B (upstream).
      When a build of B is running and a build of A is scheduled, A waits in the queue
      (as if there were another build of A).
      This behaviuor is needed to avoid building A (in parallel with B already
      running) and then rebuild A after B has completed.

      Hudson already checks if a project in the build queue is already running, can it
      check also if a build of an upstream project is already running?

          [JENKINS-4137] Add a project option to let a job wait in queue if one of its upstream projects is building

          duality72 added a comment -

          Just wanted to add myself to CC, but since I'm commenting and with the caveat
          that I'm pretty new to Hudson...

          I was browsing similar issues today and I'm guessing this will be resolved as a
          duplicate of #1938, casting the exercise into limbo again waiting for something
          to happen with issue #2072, which seems a shame as much discussion as there has
          been for this specific feature outside of reorderable queues. In fact, it seems
          the Maven plugin resolved this problem in issue #2736; I'm not sure why there
          can't just be an option in the Ant task to do the same.

          duality72 added a comment - Just wanted to add myself to CC, but since I'm commenting and with the caveat that I'm pretty new to Hudson... I was browsing similar issues today and I'm guessing this will be resolved as a duplicate of #1938, casting the exercise into limbo again waiting for something to happen with issue #2072, which seems a shame as much discussion as there has been for this specific feature outside of reorderable queues. In fact, it seems the Maven plugin resolved this problem in issue #2736; I'm not sure why there can't just be an option in the Ant task to do the same.

          mdonohue added a comment -

          Dup

              • This issue has been marked as a duplicate of 1938 ***

          mdonohue added a comment - Dup This issue has been marked as a duplicate of 1938 ***

            Unassigned Unassigned
            mambu Marco Ambu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: