title: Running same Jenkins job on multiple agents in parallel in declarative pipeline
body: <p>here's what I have:</p>
  
  <pre><code>#!/usr/bin/env groovy
  
  pipeline {
      agent none
      stages {
          stage('Checkout SCM') {
              agent { label 'win' &amp;&amp; 'apple' &amp;&amp; 'rhel' }
              steps {
                  echo "Cloning Repository"
                  checkout([$class: 'GitSCM',
                      branches: [[name: "*/develop"]],
                      doGenerateSubmoduleConfigurations: false,
                      extensions: [[$class: 'WipeWorkspace']],
                      submoduleCfg: [],
                      userRemoteConfigs: [[credentialsId: 'UNAME', url: 'URL']],
                      browser: [$class: 'BitbucketWeb', repoUrl: 'URL'],
                  ])}}
  
          stage('Building Win64, Linux764, MacOS') {
              agent { label 'win&amp;&amp;rhel&amp;&amp;apple' }
              steps {
                     script {
                          echo '************************'
                          echo '*****BUILDING JOBS******'
                          echo '************************'
                          sh 'python build.py'
                          sh 'cd ion-js &amp;&amp; npm run prepublishOnly'
                        }}}
      }
  } 
  </code></pre>
  
  <p>However I get the <code>There are no nodes with the label ‘win &amp;&amp; rhel &amp;&amp; apple’</code> error. Does anyone happen to know how to run a declarative jenkins pipeline where one of the stages is ran on multiple agent labels in parallel?</p>
  
  <p>I want to checkout the same git repo to 3 different nodes at the same time. I've tried <code>agent { label 'win' &amp;&amp; 'apple' &amp;&amp; 'rhel' }</code> and <code>agent { label 'win&amp;&amp;apple&amp;&amp;rhel' }</code> but it just says it can't find that label.</p>
  
  <p><a href="https://stackoverflow.com/questions/43321026/can-i-define-multiple-agent-labels-in-a-declarative-jenkins-pipeline/43372100">Here they say you can use</a> <code>||</code> and using <code>&amp;&amp;</code> should work but I'm not sure what I'm missing. I could write 3 different checkout stages but I figured there was a better way</p>