Skip to content

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

@eduard-borrego-scytl

Description

@eduard-borrego-scytl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions