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

would like to use one instance per build


    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: ec2-plugin
    • Labels:
    • Similar Issues:


      A combination of factors:

      • Our builds are fairly infrequent
      • Our instance set up + build is a bit less than an hour (but instance set up + build + wait 30 minutes is more than an hour)
      • It would be nice not have to trust the code we are building too much

      mean that for our purposes we would like to start a fresh instance for each build we do.

      I've had a bit of a look at this, and it seems that one approach would be to play with the RetentionStrategy used for the ec2 slaves, but I'm not sure that this would result in the slave being terminated if there was a build waiting when one finished.



          mwhudson mwhudson created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 138729 ] JNJira + In-Review [ 174966 ]
          tykeal Andrew Grimberg made changes -
          Attachment remove_ec2_node.groovy [ 40007 ]
          jvz Matt Sicker made changes -
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          Resolution Fixed [ 1 ]
          sverhoef Stefan Verhoeff made changes -
          Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]


            • Assignee:
              kohsuke Kohsuke Kawaguchi
              mwhudson mwhudson
            • Votes:
              3 Vote for this issue
              9 Start watching this issue


              • Created: