title: jenkins pipeline array of nodes with label
body: <p>I'm trying to run steps in jenkins pipeline parallel in nodes with specified label</p>
  
  <p>I have a hardcoded define with node names  "def deviceLabels = ['Node 1', 'Node 2']" and both of these have also label "Device" and that works fine</p>
  
  <p>"return jenkins.model.Jenkins.instance.nodes.collect { node -> node.name }" returns all node names but how to get array of nodes containing label "Device" ?</p>