Skip to content
Permalink
Browse files

Merge pull request #43 from jenkinsci/fix/JENKINS-32861

fix JENKINS-32861: --build option must pass an absolute path to the DockerFile
  • Loading branch information...
ndeloof committed Feb 17, 2016
2 parents 58c931e + dbf2e19 commit e3b8b5c2d48dc6fefbb3c7097563809d9e1dbe44
@@ -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 e3b8b5c

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