Skip to content

Commit

Permalink
fix JENKINS-32861: --build option must pass an absolute path to the D…
Browse files Browse the repository at this point in the history
…ockerFile
  • Loading branch information
aheritier committed Feb 17, 2016
1 parent 58c931e commit dbf2e19
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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
Expand Down

0 comments on commit dbf2e19

Please sign in to comment.