I took a ssh ready slave image and sudo-ed to the container as jenkins, ran 
git clone,  ran a basic build and committed to docker. When I run a docker 
container from this new image. I could see the files in there. I don't see 
expected result of just git update when I use this new image as my slave. 

Additional note, I inspected the dynamic containers created by jenkins and 
don't see source directory. I don't understand what I am missing.





On Friday, April 24, 2015 at 10:59:08 AM UTC-6, nigelm wrote:
>
> Build a slave image with a copy of the git repository and any known 
> artifacts within it. Then the build will only be fetching the diffs.
>
>
> On Fri, Apr 24, 2015 at 4:18 PM, krishna kunapuli <kunap...@gmail.com 
> <javascript:>> wrote:
>
>> Hi,
>>  I was able to setup Jenkins running in a docker container and configure 
>> plug-in to kick off builds on slaves. How ever, each time a job is run 
>> jenkins slave container is trying to clone the entire git repository, 
>> downloading all the artifacts for the project. In my case it take 
>> 15minutes. This is least efficient. How do I re-use a slave workspace?
>>
>> Thanks,
>> K
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/d452c5d9-0cbd-43ce-af5b-62e9b0edfb36%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/d452c5d9-0cbd-43ce-af5b-62e9b0edfb36%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/596918ea-7de9-4df8-8c60-769dbdb5ff15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to