lockable-resources-plugin
lockable-resources-plugin copied to clipboard
Throw excpetion when count of requiered resources is bigger then current count of resources
Jenkins and plugins versions report
NN
What Operating System are you using (both controller, and any agents involved in the problem)?
NN
Reproduction steps
create 1 resources named ABC with label A and start this code lock(label : 'A', quantity: 2) { }
Expected Results
The pipeline shall breaks / throw a exception in validation step, when the count of requested resources is smaller the current count of resources
Actual Results
Pipiles stucked, until enough resources are created. This may also happnes when a lock is in queue and the resources are removed between.
Anything else?
No response
Are you interested in contributing a fix?
No response
as follow from #558