Jenkins builds the setup projects of our software suite. Afterwards, it starts a virtual machine with XP, installs our software, performs some tests, and shuts the VM down. Next, the same installation and test procedure shall be done on Win7, then on Win8, Server 2008 R2, Server 2012...
That means, when the "shutdown slave" project was done, a new slave has to be started depending on the previous slave.
The "Post build task" plugin allows for scripts to be executed dependent on the output of the project (I could add a "ver" statement there to get the relevant information), but it cannot start a project.
Another plugin allows for an action dependent on the outcome the project (success, instable, failure) - but that's not applicable here.
Currently, I think of creating specific batch files for each slave which would start the next client via vmrun and then shutdown the present slave. But I do not like that type of workaround, because the information on the order of projects get moved away from the Jenkins master.