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

Additional options on slave disconnection

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Since vSphere virtual machines can be reverted and hard powered down without gracefully shutting down the guest operating system, can these be exposed as options for "What to do when the slave is disconnected"? We have some virtual machines that take some time to gracefully shutdown and would like the ability to hard shutdown a machine.

      Our scenario is that a vSphere virtual machine runs a number of jobs sequentially (from a matrix configuration) but the machine must be reverted between each job run. Our slaves are configured to disconnect after a single build and to revert to a snapshot before starting the machine. After the first configuration from the matrix runs, the slave disconnect starts but since the graceful shutdown takes too long, the second configuration starts running on the slave before the disconnect completes.

      We're hoping that doing a hard power down instead of graceful shutdown will prevent the second configuration from running before the disconnect completes.

        Attachments

          Activity

          stevenv Steven Visagie created issue -
          jswager1 Jason Swager made changes -
          Field Original Value New Value
          Assignee Jason Swager [ jswager1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 153810 ] JNJira + In-Review [ 178613 ]
          pjdarton pjdarton made changes -
          Assignee Jason Swager [ jswager1 ]
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Closed [ 6 ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            stevenv Steven Visagie
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: