title: Post failure block in Jenkinsfile is not working
body: <p>I'm trying a post failure action with a parallel step but it never works. </p>
  
  <p>This is my Jenkinsfile:</p>
  
  <pre><code>pipeline {
    agent any
    stages {
      stage("test") {
        steps {
          withMaven(
            maven: 'maven3', // Maven installation declared in the Jenkins "Global Tool Configuration"
            mavenSettingsConfig: 'maven_id', // Maven settings.xml file defined with the Jenkins Config File Provider Plugin
            mavenLocalRepo: '.repository')
          {
            // Run the maven build
            sh "mvn --batch-mode release:prepare -Dmaven.deploy.skip=true" --&gt; it will always fail
          }
        }
      }
      stage("testing") {
        steps {
          parallel (
            phase1: { sh 'echo phase1' },
            phase2: { sh "echo phase2" }
          )
        }
      }
    }
    post {
      failure {
        echo "FAIL"
      }
    }
  }
  </code></pre>
  
  <p>But the post failure action here is a bit useles... I don´t see it any place.</p>
  
  <p>Thanks to all!
  Regards</p>