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

documentation on how to delete workers after each Jenkins job

      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?

          [JENKINS-29987] documentation on how to delete workers after each Jenkins job

          Alex Java created issue -
          LawYard LawYard made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Oliver Gondža made changes -
          Assignee Original: Marat Mavlyutov [ mavlyutov ] New: Oliver Gondža [ olivergondza ]
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 165066 ] New: JNJira + In-Review [ 186309 ]

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

              Created:
              Updated: