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

In progress input step's status reported incorrectly as PAUSED_PENDING_INPUT

XMLWordPrintable

      As reported in https://issues.jenkins-ci.org/browse/JENKINS-38491, if there is at least one step waiting for user input, StatusAndTiming.computeChunkStatus() incorrectly reports steps that are busy as PAUSED_PENDING_INPUT.

      This script demonstrates it, shell step in 'right' branch reported as PAUSED_PENDING_INPUT.

      node {
          stage("parallelStage"){
            parallel left : {
                  echo "running"
                  def branchInput = input message: 'Please input branch to test against', parameters: [[$class: 'StringParameterDefinition', defaultValue: 'master', description: '', name: 'branch']]
                  echo "BRANCH NAME: ${branchInput}"
              }, 
              right : {
                  sh 'sleep 10000000'
              }
          }
      }
      

            svanoort Sam Van Oort
            vivek Vivek Pandey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: