How to choose a label for Jenkins slave dynamically

Solution 1:

Solved by using NodeLabelParameter and Parameterized Trigger plugins. For some reason I missed that I need to use BuildParameterFactory in order to run on all slaves with chosen label.