[JIRA] [docker-custom-build-environment-plugin] (JENKINS-32758) Docker build from Dockerfile requires full path to Dockerfile
Title: Message Title Nicolas De Loof closed an issue as Fixed Jenkins / JENKINS-32758 Docker build from Dockerfile requires full path to Dockerfile Change By: Nicolas De Loof Status: Open Closed Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [docker-custom-build-environment-plugin] (JENKINS-32758) Docker build from Dockerfile requires full path to Dockerfile
Title: Message Title John Leach commented on JENKINS-32758 Re: Docker build from Dockerfile requires full path to Dockerfile Ah, this looks much better with 1.6.5. I now no longer have to set $ {WORKSPACE}/Dockerfile - I can set just Dockerfile. Thanks! But it's worth noting that I now CANNOT set ${WORKSPACE} /Dockerfile. If I do that, it errors like this: {{Your project is missing a Dockerfile [ssh-agent] Stopped. FATAL: Interrupted java.lang.RuntimeException: Interrupted at com.cloudbees.jenkins.plugins.docker_build_env.DockerBuildWrapper.setUp(DockerBuildWrapper.java:171) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)}} Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [docker-custom-build-environment-plugin] (JENKINS-32758) Docker build from Dockerfile requires full path to Dockerfile
Title: Message Title Thomas Collignon commented on JENKINS-32758 Re: Docker build from Dockerfile requires full path to Dockerfile Now with the new release 1.6.5 you don't have to set $ {WORKSPACE} , just Dockerfile like you do at the beginning is good. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [docker-custom-build-environment-plugin] (JENKINS-32758) Docker build from Dockerfile requires full path to Dockerfile
Title: Message Title Thomas Collignon commented on JENKINS-32758 Re: Docker build from Dockerfile requires full path to Dockerfile Oh I don't know that, maybe Nicolas has an other view? Maybe this could be added in the comment on the field Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [docker-custom-build-environment-plugin] (JENKINS-32758) Docker build from Dockerfile requires full path to Dockerfile
Title: Message Title John Leach commented on JENKINS-32758 Re: Docker build from Dockerfile requires full path to Dockerfile yep, that works for me. Thanks. So should that be the default then? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [docker-custom-build-environment-plugin] (JENKINS-32758) Docker build from Dockerfile requires full path to Dockerfile
Title: Message Title Thomas Collignon edited a comment on JENKINS-32758 Re: Docker build from Dockerfile requires full path to Dockerfile Hi,We set Dockerfile field to : _ {code:java} ${WORKSPACE}/ Dockerfile_ Dockerfile {code} and it's works.Can you try it? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [docker-custom-build-environment-plugin] (JENKINS-32758) Docker build from Dockerfile requires full path to Dockerfile
Title: Message Title Thomas Collignon edited a comment on JENKINS-32758 Re: Docker build from Dockerfile requires full path to Dockerfile Hi,We set Dockerfile field to : _ ${WORKSPACE}/ Dockerfile Dockerfile_ , and it's works.Can you try it? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [docker-custom-build-environment-plugin] (JENKINS-32758) Docker build from Dockerfile requires full path to Dockerfile
Title: Message Title Thomas Collignon edited a comment on JENKINS-32758 Re: Docker build from Dockerfile requires full path to Dockerfile Hi,We set Dockerfile field to : _ ${WORKSPACE}/Dockerfile_ , and it's works.Can you try it? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [docker-custom-build-environment-plugin] (JENKINS-32758) Docker build from Dockerfile requires full path to Dockerfile
Title: Message Title Thomas Collignon edited a comment on JENKINS-32758 Re: Docker build from Dockerfile requires full path to Dockerfile Hi,We set Dockerfile filed field to : ${WORKSPACE}/Dockerfile, and it's works.Can you try it? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [docker-custom-build-environment-plugin] (JENKINS-32758) Docker build from Dockerfile requires full path to Dockerfile
Title: Message Title Thomas Collignon commented on JENKINS-32758 Re: Docker build from Dockerfile requires full path to Dockerfile Hi, We set Dockerfile filed to : $ {WORKSPACE} /Dockerfile, and it's works. Can you try it? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [docker-custom-build-environment-plugin] (JENKINS-32758) Docker build from Dockerfile requires full path to Dockerfile
Title: Message Title John Leach created an issue Jenkins / JENKINS-32758 Docker build from Dockerfile requires full path to Dockerfile Issue Type: Bug Assignee: Nicolas De Loof Components: docker-custom-build-environment-plugin Created: 04/Feb/16 12:36 AM Environment: Docker version 1.9.1. Jenkins ver. 1.645 CloudBees Docker Custom Build Environment Plugin 1.6.4 Priority: Minor Reporter: John Leach Set "path to docker context" field to "." and set "Dockerfile" field to "Dockerfile" and try a build, and get: {{Build Docker image from ./Dockerfile ... $ docker build --tag 6ae96f119c2701896c3890ff49f07078bcdcac37 --file Dockerfile /home/jenkins/workspace/cloud-acceptance unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/jenkins/Dockerfile: no such file or directory [ssh-agent] Stopped. FATAL: Failed to build docker image from project Dockerfile java.lang.RuntimeException: Failed to build docker image from project Dockerfile at com.cloudbees.jenkins.plugins.docker_build_env.Docker.buildImage(Docker.java:127) at com.cloudbees.jenkins.plugins.docker_build_env.DockerfileImageSelector.prepareDockerImage(DockerfileImageSelector.java:41) at com.cloudbees.jenkins.plugins.docker_build_env.DockerBuildWrapper.setUp(DockerBuildWrapper.java:167) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.mod