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

Slave should be shut down only if idle

    XMLWordPrintable

Details

    Description

      The latest version of the plugin shutdowns a slave, no matter if a job is running or not, if Jenkins master looses the network connection with the slave. This should not happen because Jenkins slaves are capable of reestablishing it.

      The root of the problem is that the slave shutdown happens in VirtulMachineLauncher.afterDisconnect(), triggered everytime when the connection between master and slave goes down. The provided patch fixes that.

      Attachments

        Activity

          pedjak Predrag Knezevic created issue -
          gkr G. Kr. made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          gkr G. Kr. made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 150985 ] JNJira + In-Review [ 206934 ]

          People

            tastybug Philipp Bartsch
            pedjak Predrag Knezevic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: