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

Throttle Concurrent Builds doesn't work when builds are in cloudbees folders

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We recently organized our builds into folders, and we noticed that our concurrent build throttling wasn't working. It doesn't work between folders or for builds within the same folder. It only works when it's in the main workspace.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/hudson/plugins/throttleconcurrents/ThrottleQueueTaskDispatcher.java
          http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/09234147a9bf23de0cd40cfa420cb8d4e97a4a6e
          Log:
          [FIXED JENKINS-25326] Elevates to SYSTEM when handling throttling in executor threads.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/throttleconcurrents/ThrottleQueueTaskDispatcher.java http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/09234147a9bf23de0cd40cfa420cb8d4e97a4a6e Log: [FIXED JENKINS-25326] Elevates to SYSTEM when handling throttling in executor threads.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          pom.xml
          src/test/java/hudson/plugins/throttleconcurrents/ThrottleIntegrationTest.java
          http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/5b5728a069df14df1ce48377682b74ed338605df
          Log:
          JENKINS-25326 Reverted changes required for the test to reproduce JENKINS-25326.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: pom.xml src/test/java/hudson/plugins/throttleconcurrents/ThrottleIntegrationTest.java http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/5b5728a069df14df1ce48377682b74ed338605df Log: JENKINS-25326 Reverted changes required for the test to reproduce JENKINS-25326 .
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          pom.xml
          src/test/java/hudson/plugins/throttleconcurrents/ThrottleIntegrationTest.java
          http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/dfb3d2f13c139c430648556ece1f6b67d016dedb
          Log:
          JENKINS-25326 - Enable folder tests created by @ikedam

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml src/test/java/hudson/plugins/throttleconcurrents/ThrottleIntegrationTest.java http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/dfb3d2f13c139c430648556ece1f6b67d016dedb Log: JENKINS-25326 - Enable folder tests created by @ikedam
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          pom.xml
          src/main/java/hudson/plugins/throttleconcurrents/ThrottleQueueTaskDispatcher.java
          src/test/java/hudson/plugins/throttleconcurrents/ThrottleIntegrationTest.java
          src/test/java/hudson/plugins/throttleconcurrents/ThrottleQueueTaskDispatcherTest.java
          http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/c823d8d9284aa6d0e645b7c2a7702a4d1d354e2c
          Log:
          Merge pull request #41 from oleg-nenashev/feature/JENKINS-25326_ExecutorPermission

          JENKINS-25326 - Elevate user to system during build throttling

          Compare: https://github.com/jenkinsci/throttle-concurrent-builds-plugin/compare/e1aeb176b649...c823d8d9284a

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml src/main/java/hudson/plugins/throttleconcurrents/ThrottleQueueTaskDispatcher.java src/test/java/hudson/plugins/throttleconcurrents/ThrottleIntegrationTest.java src/test/java/hudson/plugins/throttleconcurrents/ThrottleQueueTaskDispatcherTest.java http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/c823d8d9284aa6d0e645b7c2a7702a4d1d354e2c Log: Merge pull request #41 from oleg-nenashev/feature/ JENKINS-25326 _ExecutorPermission JENKINS-25326 - Elevate user to system during build throttling Compare: https://github.com/jenkinsci/throttle-concurrent-builds-plugin/compare/e1aeb176b649...c823d8d9284a
          Hide
          suzannehamilton Suzanne Hamilton added a comment -

          Really sorry for accidentally updating this ticket! I hit a keyboard shortcut and must have pressed the wrong key because JIRA assigned the ticket to me. I've unassigned it again.

          Show
          suzannehamilton Suzanne Hamilton added a comment - Really sorry for accidentally updating this ticket! I hit a keyboard shortcut and must have pressed the wrong key because JIRA assigned the ticket to me. I've unassigned it again.

            People

            • Assignee:
              ikedam ikedam
              Reporter:
              gailterman Gail Terman
            • Votes:
              3 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: