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

Additional options on slave disconnection

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: