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)

          Oleg Nenashev added a comment - - edited

          Jenkins 1.607...1.609 cannot work with TCB plugin, see JENKINS-27708.
          Please reopen the issue if it happens on 1.610+

          Oleg Nenashev added a comment - - edited Jenkins 1.607...1.609 cannot work with TCB plugin, see JENKINS-27708 . Please reopen the issue if it happens on 1.610+

          I just updated.
          I will reopen if I notice it again.

          Thanks.

          Andrei Costescu added a comment - I just updated. I will reopen if I notice it again. Thanks.

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

              Created:
              Updated:
              Resolved: