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

Blue Ocean shows 'Unknow' status for skipped Stages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • blueocean-plugin, pipeline
    • None
    • Jenkins 2.46.2 on Amazon Linux
      OpenJDK 1.7.0
      Blue Ocean 1.0.1
      Pipeline: Declarative Extension Points API 1.1.3

      I am using conditionals in my declarative pipeline.

      For example,

      stage('Clean Deploy (master)') {
          when {
              branch 'master'
          }
          steps {
              echo 'stuff'
          }
      }

      When certain stages are skipped in my pipeline, they still show up in Blue Ocean.  They don't execute which is good, but they show up as a purple dot with a question mark and if i hover over them it says 'Unknow' (i think this is a typo for Unknown).

      I've attached a screenshot.

      I would expect that stages that are skipped do not show up at all.  Note that is the behaviour I am used to when using a Scripted Pipeline with if statements.

      Perhaps there should be a toggle to show them or not.

      If they are shown then i would expect a status of 'Skipped' rather than 'Unknow'. 

       

            Unassigned Unassigned
            wimnat Rob White
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: