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

Parallel Input stages are not individually selectable in Blue Ocean

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      Jenkins LTS 2.138.x.x
      BO plugins 1.8.2
    • Similar Issues:

      Description

      Issue:
      I have a pipeline script with parallel steps and each one has its own input that needs to be approved. Those inputs are not individually approvable when selecting their node icons which means I need to approve them all in order from top to bottom for all the stages to move forward

      Steps to reproduce:

      Create a new job with the following script

      pipeline {
          agent none
          stages{
              stage('Parallel Steps') {
                  parallel {
                      stage('BranchA'){
                          stages{
                              stage('InputA'){
                                  agent any
                                  input {
                                      message "Should we continue?"
                                      ok "Yes, we should."
                                  }
                                  steps {
                                      echo "Approved A"
                                  }
                              }
                              stage('DeployA'){
                                  agent any
                                  steps {
                                      echo "Deploying A"
                                  }
                              }
                          }
                      }
                      stage('BranchB'){
                          stages{
                              stage('InputB'){
                                  agent any
                                  input {
                                      message "Should we continue?"
                                      ok "Yes, we should."
                                  }
                                  steps {
                                      echo "Approved B"
                                  }
                              }
                              stage('DeployB'){
                                  agent any
                                  steps {
                                      echo "Deploying B"
                                  }
                              }
                          }
                      }
                  }
              }
          }
      }
      

      Then run that job in Blue ocean view and try to approve just the B branch.

      Expected results:
      I would normally expect that I could select the B branch waiting on input and approve just that branch

      Workaround:
      You have to go to the traditional console output and approve the B branch

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                nicu Nicolae Pascu
                Reporter:
                ataylor Alex Taylor
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: