jenkinsci/jenkins — pull request #984 by jbrejner (2013-10-24 18:28:30+00:00)
Title: [FIXED JENKINS-20227] Avoid submitting polling jobs if all suitable exec...

Added functionality that checks if any the desired slave(s) by label is online, if not NO_CHANGES is returned, and we will wait until next polling.
If the project is not restricted in terms of where it can run, any slave (executor) that is online is accepted, and the polling job is submitted