All,
I have found the following file:
core/src/main/java/hudson/slaves/NodeProvisioner.java
I would like to know if its possible to write a plugin that changes the default strategy.
The reason is that we are using Docker Containers on a number of Slave machines.
This allows each Slave Server to do multiple builds.
However the current implementation of NodeProvisioner.java appears to try and fully load the first server before loading the subsequent machines (each server is a Cloud).
I would like to modify the policy to try and assign builds based on the number of builds currently being built on each server.
A very basic attempt at load balancing.
Perhaps something already allows this - if so would love to hear about it.
Essentially I want to load balance over multiple Clouds (which is how the docker plugin sets up each Docker host)
Cheers
Dan