jenkinsci / jenkinsci/openstack-cloud-plugin

Dispose idle server provisioned by different sources

Open
#101 2 comments 0 reactions 0 assignees View on GitHub
idea
Dominant language
Java
Stars
49
Forks
97
Avg merge
13h 23m
Merged PRs (30d)
6

Description

For user that use openstack mainly for Jenkins and related automation. It can make sense to cleanup dangling machines by openstack plugin. Just today, my slave died and job was not able to cleanup slaves it started (started by SUT, not Jenkins). If would be great if plugin can be made responsible for disposing these resources as well.

Servers provision can have a metadata field instructing plugin to perform cleanup:
- After certain date. (This server should live for a couple of hours. It is certainly useless if running after 24h)
- Ties server lifetime to Jenkins entity (slave, build, etc). (This is a server provisioned for purposes of a build and once the build is done/gone it is useless).

If documented users can take advantage of that in custom automation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.