I've been working on Groovy code to do this. Essentially it takes the
slave "offline" (equivalent to clicking "Mark this node temporarily
offline" button). Any running jobs on the slave continue, but no new
jobs are accepted. Once the slave is offline it goes into a loop
monitoring the countBus
- Ursprungligt meddelande -
> Från: "Andrew Sumner"
> Till: jenkinsci-users@googlegroups.com
> Skickat: onsdag, 5 mar 2014 3:18:17
> Ämne: Rebooting Windows Slaves
>
> I'm searching for a more robust way of rebooting a Windows slave. I reboot
> our
I'm searching for a more robust way of rebooting a Windows slave. I reboot
our windows slaves every night as I find that they tend to play up if left
too long without a restart.
Currently I try to a block builds plugin to block jobs so that the slave
can be rebooted, however from time to tim