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

Add "reboot slave after build" for a slave template

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ec2-plugin
    • None

      Imagine the scenario:

      A build slave contains a Linux system with "/" or critical directories thereof being mounted as a unionfs between a RO persistent mount and a tmpfs transient in-memory FS. Each job populates its own build environment.

      In such a case a reboot of the slave would produce a pristine environment within tens of seconds ready to service another job, providing building and testing environment that is fully build-time generated and perfectly reproducible every time.

      In order to achieve this EC2 plugin needs to be taught to reboot a slave after a posted Task on it completes (as long as the task is not executed by an a one-off-executor).

          [JENKINS-25209] Add "reboot slave after build" for a slave template

          Arcadiy Ivanov created issue -
          Arcadiy Ivanov made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Arcadiy Ivanov made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Arcadiy Ivanov made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Arcadiy Ivanov made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Arcadiy Ivanov made changes -
          Link New: This issue is blocking JENKINS-25626 [ JENKINS-25626 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 159121 ] New: JNJira + In-Review [ 179878 ]

            arcivanov Arcadiy Ivanov
            arcivanov Arcadiy Ivanov
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: