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

vsphere plugin 2.16 not respecting slave disconnect settings

      Starting in VSphere Plugin 2.16, the behaviour at the end of a job has broken.

      I configure the node to disconnect after 1 build, and to shutdown at that point.  This, along with snapping back to the snapshot upon startup, gives me a guaranteed-clean machine at the start of every build.

      Starting in version 2.16, the plugin seems to opportunistically ignoring the "disconnect after (1) builds", and is re-using the node to run the next queued job without enforcing a snap back to the snapshot.  This next build then has high odds of failing or mis-building, as the node is unclean.

      WORKAROUND: Revert back to plugin version 2.15, where the error does not occur.

          [JENKINS-47821] vsphere plugin 2.16 not respecting slave disconnect settings

          John Mellor created issue -
          pjdarton made changes -
          Assignee New: pjdarton [ pjdarton ]
          pjdarton made changes -
          Issue Type Original: Improvement [ 4 ] New: Bug [ 1 ]
          pjdarton made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            pjdarton pjdarton
            alt_jmellor John Mellor
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: