hasSlaveScripts should also be available on labs slaves, not only production slaves. It seems the scripts are there but the slaves are not tagged that way. Perhaps the solution is to remove the tag if every slave has them.
To find all such jobs:
ssh gallium.wikimedia.org 'grep -l hasSlaveScripts /var/lib/jenkins/jobs/*/config.xml|cut -d\/ -f6'
That is all the -jslint jobs and:
- erblint-HEAD https://gerrit.wikimedia.org/r/222283
- jshint - https://gerrit.wikimedia.org/r/222115
- jsonlint - https://gerrit.wikimedia.org/r/222115
- *-jslint - https://gerrit.wikimedia.org/r/222115
- mediawiki-core-jslint https://gerrit.wikimedia.org/r/222281
- mediawiki-core-phpcs unused dropped by https://gerrit.wikimedia.org/r/222282
- mediawiki-core-whitespaces https://gerrit.wikimedia.org/r/222280
- mwext-CirrusSearch-whitespaces https://gerrit.wikimedia.org/r/222280
- mediawiki-core-phpcs-HEAD https://gerrit.wikimedia.org/r/222123
- mwext-.*-phpcs-HEAD https://gerrit.wikimedia.org/r/222123
- operations-puppet-pep8 https://gerrit.wikimedia.org/r/217249
- operations-puppet-test https://gerrit.wikimedia.org/r/217249
- parsoidsvc-php-parsertests https://gerrit.wikimedia.org/r/222577
- perllint https://gerrit.wikimedia.org/r/217503
- pplint-HEAD https://gerrit.wikimedia.org/r/217504