Skip to content
Permalink
Browse files
Merge pull request #34 from jenkinsci/topic/workspaces-with-spaces
fix for JENKINS-31717 allow spaces in workspace
  • Loading branch information
carlossg committed Dec 9, 2015
2 parents c3d13c1 + fae7318 commit 4a78fa202a0906586b6e1132aacfeac652236fb2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/cloudbees/dockerpublish/DockerBuilder.java
@@ -328,7 +328,7 @@ private boolean buildAndTag() throws MacroEvaluationException, IOException, Inte
+ ((isNoCache()) ? " --no-cache=true " : "") + " "
+ ((isForcePull()) ? " --pull=true " : "") + " "
+ (defined(getDockerfilePath()) ? " --file=" + getDockerfilePath() : "") + " "
+ context);
+ "'" + context + "'");
}
// get the image to save rebuilding it to apply the other tags
String image = getImageBuiltFromStdout(lastResult.stdout);

0 comments on commit 4a78fa2

Please sign in to comment.