Linked Clone breaks Deploy step

XMLWordPrintable

      CloneVM function was recently split into cloneVM and deployVM, and when the "Linked-Clone" option is selected for the Deploy step, an exception will occur. "VSphere throws: A specified parameter was not correct. spec.snapshot. "

      I believe linked-clones require a snapshot to exist, and so deployVM will always fail when linkedClone is set to true, becuase useSnapshot is false, and the snapshot wont be set: https://github.com/jenkinsci/vsphere-cloud-plugin/blob/master/src/main/java/org/jenkinsci/plugins/vsphere/tools/VSphere.java#L137

      1) The Linked-Clone option should be removed so that user cannot set this to true for "deploy" build steps.
      2) An upgrade case should be added so that users relying on this functionality in older versions do not need to reconfigure their Jenkins jobs to use the "clone" step.
      3) useLinkedClones=true and useSnapshot=false should be handled properly

      Some of our servers are not updating this plugin for this reason.

            Assignee:
            Unassigned
            Reporter:
            Eric Lordahl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: