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

Nodes status are not displayed correctly after aborting an input step

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • blueocean-plugin
    • None

      Using the following pipeline definition

      stage('Build') {
        node {
          sh "echo Building things"
        }
      }
      stage('Post Build') {
        parallel "integration tests": {
          node {
            sh 'echo integrations tests'
          }
        }, "consumer tests": {
          echo "consumer tests"
          parallel "consumer-subtest-1": {
            node {
              sh 'echo consumer-subtest-1'
            }
          }, "consumer-subtest-2": {
            node {
              input 'Abort?'
              sh 'echo consumer-subtest-2'
            }
          }, "consumer-subtest-3": {
            node {
              sh 'echo consumer-subtest-3'
            }
          }, failFast: false
        }, failFast: false
      }
      

      Proceeding seems to work fine

      But aborting doesn't display correctly the status of "consumer-subtest-1", "consumer-subtest-2" and "consumer-subtest-3"

       consumer-subtest-1 should be green and is red
       consumer-subtest-2 should be red and is green
       consumer-subtest-3 should be green and is red

        1. Proceed.gif
          Proceed.gif
          143 kB
        2. Abort.gif
          Abort.gif
          241 kB
        3. aborted-console.log
          3 kB
        4. proceed-console.log
          3 kB

            Unassigned Unassigned
            dariver Darío Villadiego
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: