-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
It would be nice, when you can skip single stages in a pipeline without losing the build history in the visualization.
At the moment I have two choices:
- Skip the complete stage: The whole build history in the visualization will be lost.
- Execute the stage but not the content: The build history is preserved, but the stage color will be the same as the rest of the stage. It should be clear, that the stage content wasn't executed. Maybe there could be a step to set the stage status and so change the color of the stage (just an idea).
Using declarative pipeline, we have when expressions on the stages to skip certain stages (e.g. publishing artifacts when it is a pull request build). The stage still appears in the stage view but is gray. This might work for you if you use declarative pipeline.