I would like to restrict where a job can be run based on the job labels but also based on the job name.
Is that possible?
Or even, check if the job name matches (in same way) with the job label
Thanks in advance
P.D.: I need to do this outside the job options as I do not trust the job configuration, just the job name
I have found this plugin which does exactly what I wanted.
It restricts the job execution on a node base on the job name
https://wiki.jenkins-ci.org/display/JENKINS/Job+Restrictions+Plugin
Thanks for your time anycase