[JIRA] [docker-build-step] (JENKINS-24205) Cannot COPY or ADD files during create image

2014-08-12 Thread jarrod.k...@gmail.com (JIRA)














































Jarrod Kahn
 commented on  JENKINS-24205


Cannot COPY or ADD files during create image















Seems like this could be related to: https://issues.jenkins-ci.org/browse/JENKINS-22838

But I'm on 1.7, so docker-java should now have that fix.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-build-step] (JENKINS-24205) Cannot COPY or ADD files during create image

2014-08-12 Thread jarrod.k...@gmail.com (JIRA)














































Jarrod Kahn
 commented on  JENKINS-24205


Cannot COPY or ADD files during create image















Also, I should note that I tried this using a Docker-in-Docker setup (host[jenkins-containerbuild-container]) and got the same exception while looking for a file that was "ADD"ed to the nested docker container, so it seems like running jenkins in a container inside the host and accessing the docker host on a different IP is not the problem, as I suggested in the "caveat" above.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-build-step] (JENKINS-24205) Cannot COPY or ADD files during create image

2014-08-12 Thread jarrod.k...@gmail.com (JIRA)















































Jarrod Kahn
 resolved  JENKINS-24205 as Fixed


Cannot COPY or ADD files during create image
















Change By:


Jarrod Kahn
(13/Aug/14 2:04 AM)




Status:


Open
Resolved





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-build-step] (JENKINS-24205) Cannot COPY or ADD files during create image

2014-08-12 Thread jarrod.k...@gmail.com (JIRA)














































Jarrod Kahn
 commented on  JENKINS-24205


Cannot COPY or ADD files during create image















This is going to sound stupid, and that is because it is. I was using non-all caps commands in my Dockerfile.

I was doing:

add . /whatever

instead of:

ADD . hwatever



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-build-step] (JENKINS-24205) Cannot COPY or ADD files during create image

2014-08-11 Thread jarrod.k...@gmail.com (JIRA)














































Jarrod Kahn
 created  JENKINS-24205


Cannot COPY or ADD files during create image















Issue Type:


Bug



Affects Versions:


current



Assignee:


vjuranek



Components:


docker-build-step



Created:


11/Aug/14 4:14 PM



Description:


I am having trouble using the COPY and ADD commands in my Dockerfile, for some reason when I do something like this:

ADD . /container/dir
or 
ADD whatever.txt /container/dir
or
COPY . /container/dir
The only thing it adds/copies is the Dockerfile, and not the rest of the contents of the build context. I've been poking around the source, but I cannot pinpoint what the issue could be.

Caveat: My docker host is running on a different IP, and the jenkins instance is running inside a container on that host, but I'd think the docker REST client should still work in this case.




Project:


Jenkins



Priority:


Major



Reporter:


Jarrod Kahn

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-build-step] (JENKINS-24205) Cannot COPY or ADD files during create image

2014-08-11 Thread jarrod.k...@gmail.com (JIRA)














































Jarrod Kahn
 commented on  JENKINS-24205


Cannot COPY or ADD files during create image















To me, it looks like the plugin is sending the whole dir, but I am not sure of the client implementation.

https://github.com/jenkinsci/docker-build-step-plugin/blob/master/src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/CreateImageCommand.java#L103



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.