Skip to content
Permalink
Browse files

fix JENKINS-32861: --build option must pass an absolute path to the D…

…ockerFile
  • Loading branch information...
aheritier committed Feb 17, 2016
1 parent 58c931e commit dbf2e19f60b7802373972e64a1471a887b260087
@@ -43,7 +43,7 @@ public String prepareDockerImage(Docker docker, AbstractBuild build, TaskListene
}

listener.getLogger().println("Build Docker image from " + expandedContextPath + "/"+getDockerfile()+" ...");
return docker.buildImage(filePath, getDockerfile(), forcePull);
return docker.buildImage(filePath, dockerFile.getRemote(), forcePull);
}

@Override

0 comments on commit dbf2e19

Please sign in to comment.
You can’t perform that action at this time.