jenkinsci / jenkinsci/openstack-cloud-plugin
single-use nodes takes too long to be deleted
- Dominant language
- Java
- Stars
- 49
- Forks
- 97
- Avg merge
- 13h 23m
- Merged PRs (30d)
- 6
Description
### 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
Contributor guide
Assessment
This issue has not been assessed yet.