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

Pipeline stages should be configurable with a weight property, corresponding to the number of executors the stage occupies

      For Freestyle jobs, the Heavy Job plugin (see https://wiki.jenkins-ci.org/display/JENKINS/Heavy+Job+Plugin) can be used in order to configure the number of executors that a given job occupies. This is necessary in order to avoid CPU oversubscription when a single build consumes multiple HW threads (e.g. in case of "make -jN", "ninja -jN" etc.).

      I have done some research and was not able to find a means to specify the number of executors consumed by a Pipeline stage.

      Parallel builds are a necessity in case of large C++ builds, and the ability to specify the number of executors is a practical solution that can be used by the scheduler in order to avoid CPU oversubscription on a particular node.

          [JENKINS-41940] Pipeline stages should be configurable with a weight property, corresponding to the number of executors the stage occupies

          Vitali Gontsharuk created issue -
          Vitali Gontsharuk made changes -
          Summary Original: Pipeline stages should be configurable with a weight property, corresponding to the number executors the stage occupies New: Pipeline stages should be configurable with a weight property, corresponding to the number of executors the stage occupies
          Vitali Gontsharuk made changes -
          Rank New: Ranked higher
          Andrew Bayer made changes -
          Component/s New: pipeline-stage-step-plugin [ 21709 ]
          Component/s Original: pipeline [ 21692 ]
          Jesse Glick made changes -
          Component/s New: heavy-job-plugin [ 16006 ]
          Component/s Original: pipeline-stage-step-plugin [ 21709 ]
          Assignee Original: Jesse Glick [ jglick ]
          Labels Original: executor pipeline stage weight New: pipeline
          Artur Tanistra made changes -
          Rank New: Ranked higher
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-39975 [ JENKINS-39975 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-44846 [ JENKINS-44846 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-45028 [ JENKINS-45028 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-39963 [ JENKINS-39963 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "workflow-durable-task-step-plugin #138 (Web Link)" [ 26533 ]

            goganchic Egor Baranov
            gontsharuk Vitali Gontsharuk
            Votes:
            33 Vote for this issue
            Watchers:
            34 Start watching this issue

              Created:
              Updated: