-
Bug
-
Resolution: Unresolved
-
Minor
-
None
My build server contains 100 big jobs, 10 small jobs.
I want each slave to be able to run 1 big job at the same time, or 5 small jobs at the same time, or 1 big and 2 small jobs t the same time.
heavy-job-plugin allows me to configure this:
Big job weighting = 3
Small job weighting = 1
Number of executors per server = 5
The problem is that when a new big job is created, if the weighting isn't set to 3, and instead it is left at the default 1, then it could end up being built 5! times on the same slave.
It would be safer instead if I could globally set the default weighting to 3, and conservatively have jobs opt into specifying that they're small.