Using Jenkins 2.289.3, we have a Jenkins server that spins up temporary worker nodes, once the nodes get spun down they aren’t deleting. I am wondering if there is a way I can improve my jobs so that it deletes the worker node after it is spun down. If not, Is there a script I can run that will clean up the list, or is there a job that I can create that will clean up the list?
I am using the EC2 plugin. Where can I configure the plugin to terminate offline nodes when they are idle? I am looking at “Configure Clouds” in Manage Nodes and Clouds but do not see anything that will let me configure this.