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

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Critical Critical
    • heavy-job-plugin
    • Jenkins 2.45, latest versions of all plugins installed

      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.

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

              Created:
              Updated: