-
Bug
-
Resolution: Duplicate
-
Trivial
-
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'.
- duplicates
-
JENKINS-39628 Handle skipped stages and parallels in the Pipeline Graph
-
- Resolved
-
[JENKINS-44464] Blue Ocean shows 'Unknow' status for skipped Stages
Link |
New:
This issue duplicates |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |