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

wrong display of first matrix axis in blue ocean when skipping another axis

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • blueocean-plugin
    • None
    • jenkins 2.303.2
      blue ocean 1.25.0

      I if run this pipeline skipping the second axis of a matrix I cannot see the steps of the first axis NOT skipped, during and after the run

      pipeline
      {
          agent none
          stages
          {
              stage('s1') {
                  matrix {
                      axes {
                          axis {
                              name 'axis'
                              values 'axis1', 'axis2', 'axis3'
                          }
                      }
                      stages {
                          stage('s2') {
                              when {
                                  beforeAgent true
                                  expression { axis != 'axis2' }
                              }
                              agent none
                              steps {
                                  print axis
                              }
                          }
                      }
                  }
              }
          }
      }
      

      actually I cannot even click on axis1

      In the logs I can see that it’s executed: it’s only a rendering issue
      It happens only if I skip the first axis. If I skip any other axis it’s visible

      It looks similar to JENKINS-49131 but here the active stage is not accessible even after the whole pipeline is over

          [JENKINS-66842] wrong display of first matrix axis in blue ocean when skipping another axis

          Guillaume DeMengin created issue -
          Guillaume DeMengin made changes -
          Description Original: I if run this pipeline skipping the second axis of a matrix I cannot see the steps of the first axis skipped, during and after the run
          {code}
          pipeline
          {
              agent none
              stages
              {
                  stage('s1') {
                      matrix {
                          axes {
                              axis {
                                  name 'axis'
                                  values 'axis1', 'axis2', 'axis3'
                              }
                          }
                          stages {
                              stage('s2') {
                                  when {
                                      beforeAgent true
                                      expression { axis != 'axis2' }
                                  }
                                  agent none
                                  steps {
                                      print axis
                                  }
                              }
                          }
                      }
                  }
              }
          }
          {code}

          actually I cannot even click on axis1
           !unskipped-stage-not-visible.png|thumbnail!

          In the logs I can see that it’s executed: it’s only a rendering issue
          It happens only if I skip the first axis. If I skip any other axis it’s visible

          It looks similar to JENKINS-49131 but here the active stage is not accessible even after the whole pipeline is over
          New: I if run this pipeline skipping the second axis of a matrix I cannot see the steps of the first axis NOT skipped, during and after the run
          {code}
          pipeline
          {
              agent none
              stages
              {
                  stage('s1') {
                      matrix {
                          axes {
                              axis {
                                  name 'axis'
                                  values 'axis1', 'axis2', 'axis3'
                              }
                          }
                          stages {
                              stage('s2') {
                                  when {
                                      beforeAgent true
                                      expression { axis != 'axis2' }
                                  }
                                  agent none
                                  steps {
                                      print axis
                                  }
                              }
                          }
                      }
                  }
              }
          }
          {code}

          actually I cannot even click on axis1
           !unskipped-stage-not-visible.png|thumbnail!

          In the logs I can see that it’s executed: it’s only a rendering issue
          It happens only if I skip the first axis. If I skip any other axis it’s visible

          It looks similar to JENKINS-49131 but here the active stage is not accessible even after the whole pipeline is over

            Unassigned Unassigned
            gdemengin Guillaume DeMengin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: