Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Component/s: blueocean-plugin
-
Labels:
-
Similar Issues:
-
Epic Link:
-
Sprint:frank, tethys, christmas
Description
A pipeline step's failure does not get reported in it's log. For example archiver step failure gets reported in overall run's log.
As discussed with Sam Van Oort, a possible hack around it would be to use failed step's flowNode's ErrorAction, FlowNode.getError().getError().getMessage() and append it to the step's log.
In blueocean API, step's log is AnnotatedLargeText, and it can be served in streaming fashion, it should be done in such a way to correctly append it to the end of step's log.
Attachments
Issue Links
- blocks
-
JENKINS-39335 If a failure happens outside of parallel branch it isn't shown in a stage
-
- Resolved
-
- is duplicated by
-
JENKINS-39440 Groovy exceptions are not logged in Blue Ocean
-
- Closed
-
- relates to
-
JENKINS-38759 Results screen/nodes in Blue Ocean omits important information
-
- Closed
-
- links to
Vivek Pandey here's the example Sam Van Oort gave https://github.com/jenkinsci/pipeline-stage-view-plugin/blob/master/rest-api/src/main/java/com/cloudbees/workflow/rest/external/ErrorExt.java#L62