Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66560

Availability Take this slave on-line when in demand and off-line when idle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core

      I have a slave node that performs slower than other slave nodes. I want to de-prioritize such that it consumes a job only, if no other slave nodes are available. I wanted to avoid installing a plugin. Instead, I've configured the node's availability with "Take this slave on-line when in demand and off-line when idle". The "In demand delay" is set to 1 minute. The "Idle delay" is set to 1 minute. The resulting behavior is that it cycles every few seconds (less than 1 minute, sometimes 10 seconds) between offline and online when there is nothing in the queue. The behavior I'm expecting is that after all executors belonging to the slave node are idle for exactly 1 minute, the slave node goes offline. Then the slave node stays offline, until a job has been in the queue for exactly 1 minute. After a job is in the queue for 1 minute, the slave node goes online again. Any insight is appreciated.

            Unassigned Unassigned
            solstice333 Kevin Navero
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: