Details
-
Improvement
-
Status: Reopened (View Workflow)
-
Trivial
-
Resolution: Unresolved
Description
Given a Pipeline with a sequence of multiple stages, e.g.
stage 'one'
stage 'two'
stage 'three'
and the last one fails, in this example "three", the visualizing shows all stages in red, although only the last one failed. Expectation is that only the failed stage is colored red, and all others, that were processed successfully before, are colored green.
If you've used a try/catch and programmed a secondary means for the stage to complete successfully, then regardless of the route (path A or path B) the stage itself is successful. If there is a need to visually see which route was taken, and I agree that this information could be useful, what way would be the best to display it without changing the meaning of stage's result? If
JENKINS-33430is implemented, the try block could execute a different stage than the catch block. Based on which stage was in the Pipeline visualization you'd know which route the pipeline took, and we'd be able to see that for historical builds too.