I have to do something like this. I need to revert a vm to a clean
state between tests. I run the jenkins slave on a "controller" box. It
uses ssh to run the test on the test box. And runs commands on the
controller to create snapshots and revert as needed.

You may be able to do something similar, using ssh to run your tests,
reboot the test box, and then when it comes back up, continue testing.

On May 16, 9:59 pm, Romu <huru...@gmail.com> wrote:
> Hi,
>
> How to reboot a slave as part of a build?  I found that when the slave
> reboots Jenkins immediately considers the build as failsure.
>
> Any idea?
>
> Thanks
> Romu

Reply via email to