selenium - Block a node with several executors from accepting more jobs until a given job is completed -


I'm running Selenium test suite on ec2 windows instances. These examples should be restarted once every few days in order to maintain the memory etc. to be maintained.

The problem is that when I send a resignation order to Junkkins, it can not be certain that there are no jobs running by slave, because slave runs many executives.

Is there a way to tell a node, as soon as the XX triggers, leave the number of preferences at 0? If not, there is a way of putting a slave offline (i.e.: "Complete all jobs, but do not accept any new jobs")?

(jenkins_url) / secure RASTART - all running jobs Allows to complete

The new task will be in line to run after the resume.

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -