In many cases there is a failure in a pipeline run which does not show up in a helpful way in the pipeline results screen.
this can manifest as some failed stages that are missing the key information.
eg : https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fpipeline-build-step-plugin/detail/PR-18/3/pipeline/9
Shows just failed stages and steps (see attached), but is missing the key error:
Also: hudson.AbortException: Queue task was cancelled
which is in the full log.
Another case is attached where the pipeline shows just one failed stage, but no failed steps at all.
In this case there was a stack trace in the log file (also attached) which showed the real error.
What should happen:
Given the myriad ways in which a pipeline run can fail, often due to infra or configuration, it seems too much "whack a mole" to try and shoehorn all errors into steps/stages.
perhaps a better approach is to identity failure cases and err on the side of showing the fill log "tail" on screen, perhaps as the final step visible. This would make all "misc" failures clear.
The pipeline graph is useful in these cases, just not the logs shown in steps.
raised by teilo
This may make the following irrelevant: