title: Run pipeline in parallel
body: <p>I have a pipeline that I need to run in parallel on two nodes. I was wondering what the best way is to accomplish this? The two nodes are <strong>U60 and SCA</strong>.</p>
  <pre><code>pipeline 
  {
      agent { label 'U60 &amp;&amp; SCA' }
  
      stages
      {
          stage ('Test')
          {
              steps
              {
                  script
                  {
                      def test_proj_choices = ['AD', 'CD', 'DC', 'DISP_A', 'DISP_PROC', 'EGI', 'FD', 'FLT', 'FMS_C', 'IFF', 'liblO', 'libNGC', 'libSC', 'MISCMP_MP', 'MISCMP_GP', 'NAV_MGR', 'RADALT', 'SYS', 'SYSIO15', 'SYSIO42', 'SYSRED', 'TACAN', 'VOR_ILS', 'VPA', 'WAAS', 'WCA']
                      for (choice in test_proj_choices) 
                      {
                          stage (&quot;${choice}&quot;) 
                          {
                              echo &quot;Running ${choice}&quot;
                              build job: &quot;UH60Job&quot;, parameters: [string(name: &quot;TEST_PROJECT&quot;, value: choice), string(name: &quot;SCADE_SUITE_TEST_ACTION&quot;, value: &quot;all&quot;), string(name: &quot;VIEW_ROOT&quot;, value: &quot;myview&quot;)] 
                          }
                      }
                  }
              }
          }
      }
  }
  </code></pre>