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

Limit concurrent builds for 1 MultiBranch project

      I am currently running the latest version of the Pipeline plugin and i have created a multi-branch job. Everything is running fine on my Jenkinsfile but i would like to limit only 1 concurrent build for my entire multi-branch project. I see that you can set the option individually for the sub-sequent (branch) job but i would like to know if there is a way to limit it for the entire folder.

          [JENKINS-35359] Limit concurrent builds for 1 MultiBranch project

          Philippe Labat created issue -
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-34547 [ JENKINS-34547 ]
          Jesse Glick made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 171649 ] New: JNJira + In-Review [ 199140 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]

          Stefan Cordes added a comment -

          This is not a duplicate of  JENKINS-34547 , see https://issues.jenkins-ci.org/browse/JENKINS-34547?focusedCommentId=291934&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-291934

          (here it requested to have limit all branches of one multibranch project build one by one).

          Stefan Cordes added a comment - This is not a duplicate of  JENKINS-34547  , see https://issues.jenkins-ci.org/browse/JENKINS-34547?focusedCommentId=291934&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-291934 (here it requested to have limit all branches of one multibranch project build one by one).

          Stefan Cordes added a comment -

          Stefan Cordes added a comment - Maybe https://wiki.jenkins-ci.org/display/JENKINS/Lockable+Resources+Plugin  helps workarounding the issue?

          Jesse Glick added a comment -

          Right use lock for that purpose.

          Jesse Glick added a comment - Right use lock for that purpose.
          Marc Neureiter made changes -
          Component/s New: throttle-concurrent-builds-plugin [ 15745 ]

            Unassigned Unassigned
            zikphil Philippe Labat
            Votes:
            43 Vote for this issue
            Watchers:
            46 Start watching this issue

              Created:
              Updated: