Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #19 from carlossg/JENKINS-27970
Browse files Browse the repository at this point in the history
[JENKINS-27970] Build doesn't fail even if docker build does
  • Loading branch information
carlossg committed Apr 21, 2015
2 parents 9bf9e37 + 61e6597 commit cf6e4a2
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 cf6e4a2

Please sign in to comment.