I need to do some updates/reboots on jenkins slaves. Does anyone have a handy example of how an external script could check if a slave is busy running a job, disable if from starting new ones, and re-enable it after the maintenance work is complete so this can be automated without disrupting builds?
-- Les Mikesell lesmikes...@gmail.com -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAOAgVpx9YTULeEsSBxskkKJi0bOaPeJ1dvKgqw-AwnDm-9joeQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.