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

One per node / One per total Category still allows multiple concurrent builds (regression)

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • Jenkins 1.608
      Throttle Concurrent Builds Plugin 1.8.4

      Many times when someone manually schedules a job to execute it will end up executing multiple builds of jobs that are in the same Category (limited to 1 per node and 1 in total) concurrently.

      I have a single Jenkins server, no slaves, and a setup like this:
      Job A - triggered by Git updates, part of category X
      Job B - triggered by A on success, part of category X
      Job C,D - triggered by A on success, part of category Y
      Job E - triggered by timer, part of category X

      When Git updates trigger Job A and while A is running I manually schedule Job E to run (both are part of category X that allows only 1 concurrent build), then Job E waits for A to finish as expected. But when A is done successfully then Jobs B, C, D and E start all at the same time.
      Problem is the B and E are part of category X as well so they should never run at the same time.

      I didn't see this before recently upgrading all plugins and Jenkins.

          [JENKINS-28084] One per node / One per total Category still allows multiple concurrent builds (regression)

          Andrei Costescu created issue -
          Oleg Nenashev made changes -
          Link New: This issue duplicates JENKINS-27708 [ JENKINS-27708 ]
          Oleg Nenashev made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 162689 ] New: JNJira + In-Review [ 197034 ]

            oleg_nenashev Oleg Nenashev
            costescuandrei Andrei Costescu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: