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

Support throttling of blocks without node() in the throttle() step

    Details

    • Similar Issues:

      Description

      We have a limit on the number of licenses we can use concurrently. Before pipeline as code we could use the throttle to limit the number of jobs to 16.
      With pipeline as code and 2.0 of the plugin we cannot limit jobs unless we create the jobs and trigger in parallel.
      Is there any intention to make the lateste plugin work in the same way as before without having to do parallel jobs

        Attachments

          Activity

          Hide
          rob_squire Robert Squire added a comment -

          In a pipeline job we do sometimes have two build stages one might use the arm license and another build in the same pipeline might use msbuild to build a host exe. It would be good to be able to limit the arm build but allow msbuild builds to run without any throttling.

          Show
          rob_squire Robert Squire added a comment - In a pipeline job we do sometimes have two build stages one might use the arm license and another build in the same pipeline might use msbuild to build a host exe. It would be good to be able to limit the arm build but allow msbuild builds to run without any throttling.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          README.md
          http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/ad8072a541fcacc0175b6468092e19392e0b91e4
          Log:
          JENKINS-44411 - Extend documentation to clarify throttle() behavior and supported use-cases

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: README.md http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/ad8072a541fcacc0175b6468092e19392e0b91e4 Log: JENKINS-44411 - Extend documentation to clarify throttle() behavior and supported use-cases
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          README.md
          http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/68f1f3fa1cd3d96ae71675008bbff0e4ba61ab52
          Log:
          JENKINS-44411 - Drop the confusing sentence

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: README.md http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/68f1f3fa1cd3d96ae71675008bbff0e4ba61ab52 Log: JENKINS-44411 - Drop the confusing sentence
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          README.md
          http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/7c61f6119c67ffb046bcf3afb596671b12011bd8
          Log:
          Merge pull request #49 from oleg-nenashev/docs/JENKINS-44411-clarify-throttle-step

          JENKINS-44411 - Extend documentation to clarify throttle() behavior

          Compare: https://github.com/jenkinsci/throttle-concurrent-builds-plugin/compare/1497858da1f6...7c61f6119c67

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: README.md http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/7c61f6119c67ffb046bcf3afb596671b12011bd8 Log: Merge pull request #49 from oleg-nenashev/docs/ JENKINS-44411 -clarify-throttle-step JENKINS-44411 - Extend documentation to clarify throttle() behavior Compare: https://github.com/jenkinsci/throttle-concurrent-builds-plugin/compare/1497858da1f6...7c61f6119c67
          Hide
          rob_squire Robert Squire added a comment -

          The new documentation is now clear on the use of throttle for pipelines.

          Show
          rob_squire Robert Squire added a comment - The new documentation is now clear on the use of throttle for pipelines.

            People

            • Assignee:
              Unassigned
              Reporter:
              rob_squire Robert Squire
            • Votes:
              8 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated: