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

how to declare total available quantity in pipeline? #63

Closed
caphrim007 opened this issue Jun 29, 2017 · 4 comments
Closed

how to declare total available quantity in pipeline? #63

caphrim007 opened this issue Jun 29, 2017 · 4 comments

Comments

@caphrim007
Copy link

I see a lot of examples on how to use the lock resource to request quantities to lock,

lock(resource: '2GB-RAM', quantity: 2) {
...
}

but I havent found an example that declares how many total quantity for a particular resource there are.

Can anyone provide an example of that?

@troy-jacobson
Copy link

Are you looking for "Manage Jenkins > Configure System > Lockable Resources Manager"
or something different?

@caphrim007
Copy link
Author

I think the declaration is the usage. You can include and empty closure and it will automatically create the resources

@birfincankafein
Copy link

This issue is still valid, there is no option for setting the total quantity of the resources can be locked, maximum.

@akomakom
Copy link
Contributor

this issue is a duplicate of #128
(or vice versa)

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

No branches or pull requests

4 participants