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 <[email protected]> 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 [email protected]. > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPYP83TO6vS%3DP%3DbK_oTW5fkCBvbz-uS3HBPoPYu6HCVaOAoPWQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
