title: How to use failFast in dynamic pipeline in Jenkins
body: <p>I have pipeline which has dynamic parallel stages and I want my pipeline to fail fast, if any of the stage fail. I tried to add failFast: true but my pipeline is stuck at "Failed at Stage ABC". </p>
  
  <pre><code>  stage("Deploy") {             
          steps {
              script {
                  def stages = createStages("Name", "Project")
                  fastFail: true
                  for (stage in stages) {                        
                      parallel stage                      
                  }
              }
          }
      }
  </code></pre>