Skip to content

Commit

Permalink
[JENKINS-27970] Build doesn't fail even if docker build does
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossg committed Apr 20, 2015
1 parent 9bf9e37 commit 61e6597
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/cloudbees/dockerpublish/DockerBuilder.java
Expand Up @@ -128,8 +128,8 @@ private boolean exec() {

return
maybeLogin() &&
isSkipBuild() ? maybeTagOnly() : buildAndTag() &&
isSkipPush() ? true : dockerPushCommand();
(isSkipBuild() ? maybeTagOnly() : buildAndTag()) &&
(isSkipPush() ? true : dockerPushCommand());

} catch (IOException e) {
return recordException(e);
Expand Down

0 comments on commit 61e6597

Please sign in to comment.