Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mPokornyETM opened this issue Jan 17, 2024 · 1 comment
Labels

Comments

@mPokornyETM
Copy link
Contributor

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
Copy link
Contributor Author

as follow from #558

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant