jenkinsci / jenkinsci/lockable-resources-plugin
Throw excpetion when count of requiered resources is bigger then current count of resources
- Dominant language
- Java
- Stars
- 99
- Forks
- 205
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 8
Description
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.