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

As a vSphere cloud plugin user, I cannot create VM from Jenkins pipeline because template does not have snapshot, not possible in vSphere Version 6.5.0 Build 7070488

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • vsphere-cloud-plugin
    • None
    • Jenkins Jenkins v. 2.130
      vSphere v. 6.5.0 Build 7070488
      vSphere cloud plugin v. 2.18

      I'm trying to create a VM from template via Jenkins pipeline using the following code

      node() {
       vSphere buildStep: [$class: 'Clone', clone: 'windwaker-gccloned', powerOn: false, sourceName: 'windwaker-gc', datastore:'Datastore2_Dev_Qa', resourcePool:'Normal'], serverName:'vcr-dev'
       }

      The code fails with the following exception: 

      ERROR: vSphere Error: Source Template "windwaker-gc" requires at least one snapshot.

       

      This was supposed to be fixed in https://issues.jenkins-ci.org/browse/JENKINS-24661

            Unassigned Unassigned
            gcimpoies George Cimpoies
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: