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

single-use nodes takes too long to be deleted #364

Open
eduard-borrego-scytl opened this issue May 31, 2023 · 1 comment
Open

single-use nodes takes too long to be deleted #364

eduard-borrego-scytl opened this issue May 31, 2023 · 1 comment

Comments

@eduard-borrego-scytl
Copy link

Describe your use-case which is not covered by existing documentation.

I have an slave configured with a retention time of 0, the Help for feature says that the node will be deleted after the first execution of a task:

If set to 0, the slave will be disposed of after the first execution of a task.

Reviewing the source code it's seems like the nodes are deleting by a schedule that is triggered each 10 minutes.
I would like to know what the exact approach is and if there is an option to delete the node after the task is executed.

Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.

https://github.com/jenkinsci/openstack-cloud-plugin/blob/master/plugin/src/main/resources/jenkins/plugins/openstack/compute/SlaveOptions/help-retentionTime.html

@steveames
Copy link

Same as #282 ? There was also a Pull Request that looks to address this: #352

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

2 participants