Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[JENKINS-8618] Support maximum builds on slave #323
I'm interested in making use of this feature but looking at the implementation I have some concerns. I guess the biggest of which is nothing immediately pops out at me that would prevent an instance from terminating or stopping when there are still active builds running. Perhaps I'm missing something though.
There is this call
Also, since the max number of builds is determined after jobs have completed, it seems possible that more than the configured number of builds may run.
Take for example the following scenario. I've configured
Maybe it would make more sense to do the counting of max builds in