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

would like to use one instance per build

    Details

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

      Description

      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.

        Attachments

          Activity

          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 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: