Skip to content

Commit

Permalink
Merge pull request #43 from jenkinsci/fix/JENKINS-32861
Browse files Browse the repository at this point in the history
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 e3b8b5c
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 e3b8b5c

Please sign in to comment.