We do something similar to this with the vSphere Cloud Plugin But instead of cloning a new VM (which the plugin does not do), we revert a VM to a previously clean state. The "clean" state already has the Jenkins slave agent setup and automatically connecting when the VM starts. So when Jenkins wants to run a job against that slave (determined through the use of labels), the VM is automatically reverted to its clean state, turned on, test runs, then the VM is powered back down and reverted for the next test run. Jason
On Thursday, September 13, 2012 3:37:39 AM UTC-7, Chris Withers wrote: > > Hi All, > > I want to CI test a script which sets up an array of machines in a new > environment. This script needs to work from bare metal machines. > > The only way I can think to do this is to have those jobs clone a > "blank" (OS installed but nothing else) set of VMs and then run the job > against them. > > Has anyone done anything similar? Are there any plugins that could help > here? > > cheers, > > Chris > > -- > Simplistix - Content Management, Batch Processing & Python Consulting > - http://www.simplistix.co.uk >