jenkinsci / jenkinsci/docker-workflow-plugin

[JENKINS-42863] Docker pipeline steps reported as successful even when failing

Open
#484 17 comments 0 reactions 0 assignees View on GitHub
component:docker-workflow-plugin imported-jira-issue priority:major resolution:unresolved
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.

Screenshot



 

 

 

 

 

 

---
Originally reported by michaelneale, imported from: Docker pipeline steps reported as successful even when failing


  • status: Reopened
  • priority: Major
  • component(s): docker-workflow-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 6
  • imported: 2025-12-07

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.

Screenshot

 

 

 

 

 

 

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)
> ![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)
> ![jhipster-pipeline-error.png](https://issues.jenkins.io/secure/attachment/37423/jhipster-pipeline-error.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.