jenkinsci/jenkins — pull request #983 by jbrejner (2013-10-24 13:23:21+00:00)
Title: [FIXED JENKINS-20227] Avoid submitting polling jobs if all suitable executors are offline

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