jenkinscontinuous-integrationjenkins-pluginsparallel-buildsninja

Jenkins with Parallel Builds


I have a small Jenkins VM running for our shop, keep it's ever-watchful eye on about a dozen github projects. It's currently configured with 3 executors (it's only a 4-cpu VM), and chugs along happily.

However, 2 of these projects are very big (90-minute compile & test cycle). On workstations, we typically use "make -j6" or Ninja to speed it up, and it does so GREATLY. I'ld like to do this on Jenkins, but I can't find a way to make a single job consume multiple executors.

What I'ld like is to be able to configure a number of Executors to allocate to a job, so that I don't have both of these monster jobs running at the same time, but still leave all the other smaller jobs with a single-executor each so that they can run in parallel.

Any ideas?


Solution

  • I went through the Jenkins Plugin page for you and found the Heavy Job Plugin. Exactly what you want