Hi. Yes, that's the fix that I meant in one of my previous posts. I hope it happens soon. But it's also good there is a workaround.
wujek On 6/11/13, Richard Bywater <[email protected]> wrote: > There's a pull request that's pending to make the new behaviour optional so > people can use the old behaviour - I've asked on the dev list to try to see > if we can merge it soon as it's also causing me issues... > > Richard. > > > On Tue, Jun 11, 2013 at 9:23 PM, Wujek Srujek > <[email protected]>wrote: > >> Hi. Thanks for the link. So my problems were twofold: >> 1. I configured the repository url (mercurial) to file:///some/path, and >> each build would wipe out the repository (and the wrapper, and the >> artifact >> caches) and clone a new one because of the following message: >> >> [workspace] $ hg showconfig paths.default >> ERROR: Workspace reports paths.default as /home/wujek/gradle-test >> which looks different than file:/home/wujek/gradle-test >> so falling back to fresh clone rather than incremental update >> >> Once I changed the repo url to a local path it works fine, the caches are >> reused. >> >> >> 2. Invoking gradle with -g /home/wujek/.gradle fixed the problem only >> partially - the artifacts are not downloaded (I had wiped out the >> workspace before the build to make sure) but the wrapper still is. >> >> I hope the problem will be solved some time soon, especially as there >> already seems to be a fix ready. >> >> >> Anyways, thanks for your information. >> >> >> wujek >> >> >> >> On Tue, Jun 11, 2013 at 1:57 AM, Richard Bywater >> <[email protected]>wrote: >> >>> This is probably because of >>> https://issues.jenkins-ci.org/browse/JENKINS-17386 >>> >>> Richard. >>> >>> >>> On Fri, Jun 7, 2013 at 8:43 PM, <[email protected]> wrote: >>> >>>> Actually, the Gradle distribution and all dependencies are downloaded >>>> _for each build_. This is bad. I'm running jenkins with 'java -jar >>>> jenkins.war' if it matters. >>>> >>>> wujek >>>> >>>> >>>> On Friday, June 7, 2013 10:32:13 AM UTC+2, [email protected] wrote: >>>>> >>>>> Hi. I'm using the latest Gradle plugin and I noticed that all projects >>>>> have all Gradle artifacts stored in their own workspace. This means, >>>>> each >>>>> project will have its own Gradle distribution (I'm using gradle >>>>> wrapper) >>>>> and their own copies of all artifacts. This seems pretty wasteful. >>>>> Is there a way to configure a common directory for the wrappers and >>>>> artifacts? Just as when I use Gradle on the command line everything is >>>>> stored in ~/.gradle by default? Some variable, somehow, somewhere? >>>>> >>>>> wujek >>>>> >>>> -- >>>> 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]. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>>> >>>> >>> >>> -- >>> 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]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- >> 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]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
