Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57871

Input directive is blocking executor in declarative pipeline

      Here are the simple pipeline that I'm using

      pipeline {
        agent {
          kubernetes {
            label 'mypod'
          }
        }
      
        stages {
          stage('input') {
            input {
                message "Should we continue?"
            }
            steps {
              echo "continued"
            }
          }
        }
      }
      

      The issue was originally found in the usual declarative pipeline and it had been fixed eventually.
      https://issues.jenkins-ci.org/browse/JENKINS-37515
      https://issues.jenkins-ci.org/browse/JENKINS-48379

      however, it is reproducing with the kubernete plugin now.

          [JENKINS-57871] Input directive is blocking executor in declarative pipeline

          jubel han created issue -
          jubel han made changes -
          Description Original: Here are the simple pipeline that I'm using
          {code:groove}
          pipeline {
            agent {
              kubernetes {
                label 'mypod'
              }
            }

            stages {
              stage('input') {
                input {
                    message "Should we continue?"
                }
                steps {
                  echo "continued"
                }
              }
            }
          }
          {code}

          The issue was originally found in the usual declarative pipeline and it had been fixed eventually.
          https://issues.jenkins-ci.org/browse/JENKINS-37515
          https://issues.jenkins-ci.org/browse/JENKINS-48379

          however, it is reproducing with the kubernete plugin now.
          New: Here are the simple pipeline that I'm using
          {code:groovy}
          pipeline {
            agent {
              kubernetes {
                label 'mypod'
              }
            }

            stages {
              stage('input') {
                input {
                    message "Should we continue?"
                }
                steps {
                  echo "continued"
                }
              }
            }
          }
          {code}

          The issue was originally found in the usual declarative pipeline and it had been fixed eventually.
          https://issues.jenkins-ci.org/browse/JENKINS-37515
          https://issues.jenkins-ci.org/browse/JENKINS-48379

          however, it is reproducing with the kubernete plugin now.
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-37515 [ JENKINS-37515 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-48379 [ JENKINS-48379 ]
          Jesse Glick made changes -
          Labels Original: declarative-pipeline input kubernetes-plugin New: input
          Jesse Glick made changes -
          Assignee Original: Carlos Sanchez [ csanchez ]

            Unassigned Unassigned
            jubel jubel han
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: