-
Bug
-
Resolution: Unresolved
-
Major
consider the following pipeline
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils node(label) { stage("A"){ echo("A") } stage("B"){ parallel( "B1": { stage("B1.1"){ Utils.markStageSkippedForConditional("B1.1") } }, "B2": { stage("B2.1"){ echo("B2.1") } stage("B2.2"){ echo("B2.1") } }, "B3": { stage("B3.1"){ echo("B2.1") } stage("B3.2"){ Utils.markStageSkippedForConditional("B3.2") } }, "B4": { stage("B4.1"){ Utils.markStageSkippedForConditional("B4.1") } stage("B4.2"){ Utils.markStageSkippedForConditional("B4.2") } }, ) } stage("C"){ echo("C") }
The stage B1.1 ( the only stage on that branch ) is shown as green instead of skipped.