Relative Content

Tag Archive for jenkinsjenkins-plugins

How to throttle Jenkins node with number of jobs in a specific state?

I want to optimize the load of the server that host Jenkins node:
Allow the jobs that actively using CPU to utilize the server up to its declared capacity (e.g. run as many as CPU cores the host has) while allowing the jobs that are not really using CPU to run freely.
The most straightforward thing for my purposes would be to put a restriction on node which would limit only the number of jobs that are not in “waiting for child job to complete” state.

How to throttle Jenkins node with number of jobs in a specific state?

I want to optimize the load of the server that host Jenkins node:
Allow the jobs that actively using CPU to utilize the server up to its declared capacity (e.g. run as many as CPU cores the host has) while allowing the jobs that are not really using CPU to run freely.
The most straightforward thing for my purposes would be to put a restriction on node which would limit only the number of jobs that are not in “waiting for child job to complete” state.