jenkinsci / jenkinsci/docker-workflow-plugin
[JENKINS-42863] Docker pipeline steps reported as successful even when failing
- Dominant language
- Java
- Stars
- 527
- Forks
- 422
- Avg merge
- 10m
- Merged PRs (30d)
- 1
Description
Problem
On this jenkins file it sometimes fails to do a docker pull. This results in a step that fails from time to time. This ends up as an exception that is caught and prints out the error here. The problem is the actual failing step is reported as successful, which isn't helpful when highlighting where the problem is.
What should happen
The step that threw the exception should be marked as a failure.
---
Originally reported by
michaelneale, imported from: Docker pipeline steps reported as successful even when failing
Raw content of original issue
Problem
On this jenkins file it sometimes fails to do a docker pull. This results in a step that fails from time to time. This ends up as an exception that is caught and prints out the error here. The problem is the actual failing step is reported as successful, which isn't helpful when highlighting where the problem is.What should happen
The step that threw the exception should be marked as a failure.
2 attachments
- [Screen Shot 2017-03-17 at 10.48.01 am.png](https://issues.jenkins.io/secure/attachment/36567/Screen%20Shot%202017-03-17%20at%2010.48.01%20am.png)
> 
- [jhipster-pipeline-error.png](https://issues.jenkins.io/secure/attachment/37423/jhipster-pipeline-error.png)
> 
Contributor guide
Assessment
This issue has not been assessed yet.