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
Comments
Post a Comment