- 
    
New Feature
 - 
    Resolution: Unresolved
 - 
    
Critical
 - 
    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.
- is duplicated by
 - 
                    
JENKINS-39975 Possibility to specify number of executors a node step will consume
-         
 - Resolved
 
 -         
 - 
                    
JENKINS-39963 Upgrade this plugin to make it usable with pipelines
-         
 - Resolved
 
 -         
 - 
                    
JENKINS-44846 Support allocating multiple executors with node()
-         
 - Resolved
 
 -         
 - 
                    
JENKINS-45028 Implement build weight support
-         
 - Resolved
 
 -         
 
- links to