I have a few Jenkins slaves, some of them are labeled by "X", and others with "Y" label. I'd like to choose group of slaves, based on their label, when I starting this job from its upstream job. I.e. I want to pass a value for a label (for NodeLabelParameter plugin) as a parameter.
I already played with a NodeLabelParameter and Parameterized Trigger plugins, reviewed http://www.shaunabram.com/dynamically-set-jenkins-node/ and similar articles, but still wasn't able to implement a flow I need.