Thanks Daniel, that's brilliant. I'll have a check it out on Monday. On Saturday, 4 January 2014 01:54:38 UTC+11, Daniel Beck wrote: > > The selection of versions and download location is provided by the Jenkins > project at http://updates.jenkins-ci.org/updates/. The download URL is > set in core/src/main/java/hudson/model/DownloadService.java by effectively > appending 'updates/', the class name of the downloader for the specific > tool, and '.json' to the update center URL in > DownloadService.Downloadable.getUrl(). > > Some additional information here: > https://wiki.jenkins-ci.org/display/JENKINS/Adding+tool+auto-installer(I've > been unable to find the scheduled tasks that perform the crawling on > ci.jenkins-ci.org unfortunately). > > The easiest way to change from where your Groovy is downloaded is by > configuring how it is installed on demand in Manage Jenkins » Configure > System » Groovy » Groovy Installations. Just remove 'Install from > http://groovy.codehaus.org' for your Groovy installations, and replace > with one of the other installers. > > On 03.01.2014, at 06:12, Nick <[email protected] <javascript:>> wrote: > > > Hi all, > > > > Background: Currently using the Groovy Plugin, on a new slave, the > Groovy Plugin downloads the required binaries from the codehaus.orgwebsite. > > > > i.e. "Unpacking > http://dist.groovy.codehaus.org/distributions/groovy-binary-2.2.1.zip to > /some_path/jenkins-slave/tools/hudson.plugins.groovy.GroovyInstallation/Groovy_221 > > on my_server" > > > > > > Question: Is it possible to (re-)configure the base url, so that it can > retrieve the binary from a locally hosted webserver? (e.g. the Jenkins > instance) > > > > e.g. > http://localhost:8080/jenkins/userContent/groovy/distributions/groovy-binary-2.2.1.zip > > > > > I've had a quick look through the source code, and haven't been able to > work out where the URL is referenced! (-> > hudson.tools.DownloadFromUrlInstaller, how is the 'id' being set?). Perhaps > a better question might be: > > Question: How is the download URL being set in the code? > > > > Kind regards, > > > > Nick > > > > -- > > 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] <javascript:>. > > 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.
