Re: Scheduling a slave node reboot

2017-09-24 Thread Simon Richter
Hi, On 23.09.2017 01:40, Chris Packham wrote: > One workaround we're looking at is to periodically reboot the node. Is > there a safe way to reboot a node i.e. prevent new jobs being assigned, > reboot and rejoin the master. Evil hack: use the heavyweight job plugin to make sure all executors ar

Re: Scheduling a slave node reboot

2017-09-22 Thread Mark Waite
One technique is to reduce the number of executors on the agent to 1, then schedule a Jenkins job to perform the reboot. That assures the job performing the reboot is the only job on that agent. Mark Waite On Fri, Sep 22, 2017 at 5:40 PM Chris Packham wrote: > Hi, > > We have a problem with ou

Scheduling a slave node reboot

2017-09-22 Thread Chris Packham
Hi, We have a problem with our build nodes and while we know the cause we haven't found a fix. One workaround we're looking at is to periodically reboot the node. Is there a safe way to reboot a node i.e. prevent new jobs being assigned, reboot and rejoin the master. -- You received this messag