Jenkins Enterprise has the VMware Autoscaling plugin that might work for you.
http://www.cloudbees.com/jenkins-enterprise-by-cloudbees-features-vmware-auto-scaling-plugin.cb > A very typical example of this functionality is to have Jenkins revert the VM > to the golden snapshot and power on in the beginning of the build, then have > Jenkins shut down the VM at the end of it. This allows you to always run your > tests in a consistently clean state. On 25.06.2013, at 05:08, Zhouping Liu <sanweiday...@gmail.com> wrote: > Hello Everyone, > > I'd like to do some special tests using jenkins-ci tool, which are executed > on slaves, and have the requirement to reboot the testing slaves each time, > as the tests need a fresh-install OS. > > But I can't find any plugins to do this, my workaround is to split the job > into three jobs: > 1. pre_job - dedicate to prepare the testing environment - trigger reboot_job > 2. reboot_job - dedicate to reboot the slave - trigger post_job > 3. post_job - dedicate to run tests > > as server can't control 'reboot_job' when 'reboot_job' is running, so > reboot_job is always failed. > > Does anyone know other methods or more better workarounds? > > Thanks, > Zhouping > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.