title: Jenkins User Acceptance code issue in Jenkins pipeline. How to implement multiple acceptance code in a single pipeline
body: <p>I am trying to create a pipeline in which after my deployment, I will perform functional test and on the basis of that I want to conclude that whether I want to proceed further or not. I used Jenkins "input" feature. I am getting the message to proceed further, but when I click OK the nothing happened, It is stucked there only. And also after first Approval I have send approval step below, after that only I have to release the result.
  I am not able to understand how to achieve as I am new to this. The pipeline code is mentioned below:</p>
  
  <pre><code>pipeline {
    agent any
  
  tools {
    // Install the Maven version configured as "M3" and add it to the path.
    maven "mvn"
    jdk "jdk8"
  }
  
  stages {
    stage('SCM Checkout') {
       steps {
          println "============= SCM Checkout =============="
       }
    }
    stage('Code Inspection'){
        steps {
          println "============== SonarQube Scanning ======================="
       }
    }
    stage('Build, Package &amp; JUnit'){
        steps {
          println "============== Build, Package &amp; JUnit ================"
       }
    }
    stage('Deploy'){
        steps {
          println "============== Deploy and Split Traffic==================" 
       }
    }
    stage('Functional &amp; Performance Test'){
        steps {
          println "=========== Functional and Performance Test ==============="
       }
    }
    stage('A/B Testing'){
        input {
              message "Functional &amp; Performance Test done. Should we continue?"
              ok "OK"
        }
        steps {
            println "=========== A/B Testing ==============="
       }
    }
    stage('Release'){
        input {
              message "A/B Testing done. Should we continue?"
              ok "OK"
        }
        steps {
            println "========= Final Release =================="
       }
    }
  }}
  </code></pre>
  
  <p>Is there any other way to achieve this? or who can I improve this code to achieve the desired result.</p>