-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
Jenkins ver. 1.607, plugin version 0.15
If your docker build fails the jobs will still succeed.
We see in the console output:
[0mtime="2015-05-19T21:13:57+01:00" level=info msg="The command [/bin/sh -c failed command returned a non-zero code: 1"
But then
Finished: SUCCESS
Steps to reproduce
Build this dockerfile:
FROM ubuntu RUN exit 1
Expected Results
The build should fail
Actual Results
The build succeeds.
I would expect this to cause us to stop building, I also wouldn't expect us to push and tag the image.
- duplicates
-
JENKINS-27970 Issue with docker-build-publish-plugin --- build failed, but success is reported
-
- Closed
-