jenkinsci/vsphere-cloud-plugin — pull request #2 by elordahl (2013-06-20 16:38:57+00:00)
Title: Merge tools

I initially created a separate plugin for this functionality, but the Jenkins team asked me to merge it with the existing vsphere-cloud plugin.

Essentially what this pull request will do is offer four build steps (deploy-from-template, convert-vm-to-template, convert-template-to-vm, and delete-vm) to Jenkins with the possibility of adding more later. Multiple servers can be configured via the global configuration (which is currently separate from the existing cloud servers).

I took a shot at merging some of the basic functions into your code in the following files:

src/main/java/org/jenkinsci/plugins/vSphereCloudSlave.java
src/main/java/org/jenkinsci/plugins/vSphereCloudLauncher.java
src/main/java/org/jenkinsci/plugins/vSphereCloud.java

Please take a look. If you'd prefer, you can leave those files alone as-is. In particular, i removed a si.currentTime() call--i'm not sure if that was a workaround of some sort.

Anyways let me know what you think.