lockable-resources-plugin icon indicating copy to clipboard operation
lockable-resources-plugin copied to clipboard

Throw excpetion when count of requiered resources is bigger then current count of resources

Open mPokornyETM opened this issue 1 year ago • 1 comments

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

mPokornyETM avatar Jan 17 '24 21:01 mPokornyETM

as follow from #558

mPokornyETM avatar Jan 17 '24 21:01 mPokornyETM