As far as I know, this isn't possible. The basic slave architecture requires a constant, unbroken connection to the slave. If the connection is broken, the build is considered a failure. There might be ways to handle this in the slave classes, but if there is, I'm not aware of them.
See this Stackoverflow Question<http://stackoverflow.com/questions/5543413/reconfigure-and-reboot-a-hudson-jenkins-slave-as-part-of-a-build>that deals with the same issue. There are workarounds, but none quite as elegant as a rebootable slave. On Wednesday, August 7, 2013 7:18:17 AM UTC-7, Nickolay Rumyantsev wrote: > > Hi! > > I am looking for a way to create a new kind of a slave (or a channel or > smth) for defining a set of testing machines (virtual and real) in my > jenkins. It must meet the following requirements: > > 1. It should provide additional states like: rebooting, broken, > available (and probably some others). The logic of selecting the current > state exists already and is related to tha testing process. > 2. The job that is being executed on such kind of the slave should be > tolerant to slave reboot (until the specified timeout is exceeded) so the > build will proceed after reboot normally. > > I had a look a the exiting plugins and it looks for me that there is no > similar plugin for now. > > Can you please tell me if is it possible and if it is so suggest what > plugin can I take as a base or which extension points should I look at to > start development? > > Thanks, > Nickolay > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
