Skip to content
Permalink
Browse files
fix for JENKINS-31717 allow spaces in workspace
  • Loading branch information
michaelneale committed Nov 25, 2015
1 parent c3d13c1 commit fae73184f1e707868a2e8958ed11c62b258a8419
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 fae7318

Please sign in to comment.