-
Improvement
-
Resolution: Unresolved
-
Major
-
None
We regsietered all out vm in jenkins an want to do thing on thme by job. At the moment the vm is tried to power on periodeially (dunno what this depends on) and we want only that the machine will be tried to start if the job needs it.
So not only "do nothing" if its disconneted or don't do anything if its connected furthermore only try to switch it on (power on) and connect it, if any job requires it (by slave name or tah label). I already set option "use this node exluively for assigned jobs" and "on/off on demand/idle" but still the node is automatically swicthed on, although no job runs request it. Its impossible to power down the slave doing maitenance, although the jenkins admin do make it temporatly not availabe before. That is more a woor around than the wanted schedule typ i request in this issue.
What is the "Availability" setting for this slave. If set to "Keep this slave online as much as possible", then this is expected behavior. Jenkins will keep this node online, even if no jobs CAN run on it or are scheduled to run on it. After all, that's what you've asked Jenkins to do.
If you want the slave to only get powered on when needed, change "Availability" to "Take this slave online when in demand and offline when idle." Then fill in values for "In demand delay" and "Idle delay".