Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29987

documentation on how to delete workers after each Jenkins job

XMLWordPrintable

      I guess this is probably supported, but not documented...

      I want to configure a pool of single-use dynamic workers:
      once a jenkins tied to that pool/label is about to run, a new node is created in Openstack cloud, the job runs, then the node is destroyed.

      I see "retention time" of -1 means "keep nodes forever". I'm guessing setting it to 0 would do something similar to what I described. but not sure... because if nodes are cleaned up once a minute (for example), then another job can start running on that node in those 60 seconds between the last job finished and the cleanup starts..

      so how do I force deleting nodes after each jenkins job?

            olivergondza Oliver Gondža
            alskor Alex Java
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: