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

Add max jobs a vm agent template can run before terminating/taking offline the VM #614

Open
richardj-bsquare opened this issue Jan 2, 2025 · 0 comments

Comments

@richardj-bsquare
Copy link

richardj-bsquare commented Jan 2, 2025

What feature do you want to see added?

A useful feature on the equivalent EC2 plugin is the capability to limit the number of jobs a given agent can run before terminating. This allows jenkins builds to cope with cruft build up in slaves such as docker images, caching, or to work around other issues that cause a given slave to be unusable after a build.

I typically for instance add a label like 'once/linux/amd64' to certain slaves such that they can be configured to only allow one (docker based build) job to execute before terminating the slave.

Upstream changes

No response

Are you interested in contributing this feature?

No response

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

1 participant