title: Jenkins: group jobs and limit build processors for this group
body: <p>we are running Jenkins with lots of jobs. At the moment these jobs are kind of grouped by using "master jobs". These do nothing but start all jobs of one group. But, if one of these master jobs runs, it starts around 10 other jobs at one time. Depending on the duration of these jobs and the number of build processores (at the moment 6) Jenkins is blocked for a longer time (up to an hour). The other thing is, that these jobs are not really suitable for such massive parallelization.</p>
  
  <p>To solve this, I'm looking for a way (a plugin), that allows to group some jobs and start them parallel, but limit the build processors used for the jobs of this group to a fixed number (e.g. 2). So it would be possible to run a group of jobs that compile java projects and parallel another group of jobs that installs test databases.</p>
  
  <p>I tried the <a href="https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin">Build flow plugin</a>, but it's not really the right one: you must separate the jobs manually to the sub-groups that run parallel and if a job in one sub-group failes, the following jobs of this group are not started.</p>
  
  <p>So, maybe someone knows a Jenkins plugin that fits better? Thanks a lot in advance!</p>
  
  <p>Frank</p>