Thanks! Great explanation :) Afaik those files are generated by some magic crawlers: https://github.com/jenkinsci/backend-crawler and pushed those json files into http://mirrors.jenkins-ci.org/updates/updates/ or any other mirrors. But I don't know when those crawers are launched.
Cheers On Wednesday, 27 January 2016 09:55:06 UTC, Matias Burni wrote: > > I found the solution. > The JDK installation is a Jenkins feature, which has 2 main config files > which disappeared from the master: > > - /var/lib/jenkins/updates/hudson.tools.JDKInstaller.json (I > recovered the file from > > http://ftp.icm.edu.pl/packages/jenkins/updates/stable-1.625/updates/hudson.tools.JDKInstaller.json > > > <http://www.google.com/url?q=http%3A%2F%2Fftp.icm.edu.pl%2Fpackages%2Fjenkins%2Fupdates%2Fstable-1.625%2Fupdates%2Fhudson.tools.JDKInstaller.json&sa=D&sntz=1&usg=AFQjCNHr5G_Umlh-DOIG_5XpMibtEVSz4g> > > , I had to rework the json file as it was corrupted with some comments. > This file contains the available JDK for the dropDown list) > - IF this file is corrupted Jenkins delete it systematically... that > was my issue > - /var/lib/jenkins/hudson.tools.JDKInstaller.xml (This file contains > the credentials of the Oracle user to pull and install the JDKs) > > I restored these files, I restarted Jenkins config job and voila! > > El martes, 26 de enero de 2016, 20:26:42 (UTC+1), Mark Waite escribió: >> >> I thought I encountered these types of problems when I changed from one >> internal JDK version (like JDK 1.8.0_45) to another internal JDK version >> (like 1.8.0_65). Unfortunately, I don't remember anything more about it, >> other than being annoyed that my docker instance with jobs that referenced >> Oracle download versions of JDK 8 were being broken unexpectedly. >> >> I finally surrendered and switched to hosting a local download location >> for the JDK. That has been quite reliable. >> >> Mark Waite >> >> On Tue, Jan 26, 2016 at 11:24 AM Matias Burni <[email protected]> wrote: >> >>> Hola Victor! (I'm your "replacement" at King, so weird finding this >>> thread with your comment!!! You're so famous!). >>> >>> >> NOT RELATED TO this post: >>> In fact I have an issue with the "Install from java.sun.com >>> dropdown list, which is now a text box. >>> the /var/lib/jenkins/hudson.tools.JDKInstaller.xml is well configured, but >>> when the file /var/lib/jenkins/updates/hudson.tools.JDKInstaller is >>> systematically deleted. :( >>> >>> >>> <https://lh3.googleusercontent.com/-hkNkSZPCbbo/Vqe5vB1BcKI/AAAAAAAAB4w/_MvS9eSC1Qw/s1600/sshot.png> >>> >>> >>> El miércoles, 9 de septiembre de 2015, 19:53:08 (UTC+2), Victor Martinez >>> escribió: >>>> >>>> Have you tried to upgrade your Jenkins version? It seems there were >>>> some tickets (which they are already solved): >>>> - https://issues.jenkins-ci.org/browse/JENKINS-22401 >>>> - https://issues.jenkins-ci.org/browse/JENKINS-22347 >>>> >>>> Have you configured your global settings and configure the JDK >>>> installation setup? Can you choose any specific JDK version? >>>> >>>> Cheers >>>> >>>> On Wednesday, 9 September 2015 17:35:01 UTC+2, Viktorija Dzedzej wrote: >>>>> >>>>> Using strategy: Default >>>>> Last Built Revision: Revision d37b1d8bfb810c37bab726ff14444f1b733b407b >>>>> (origin/master) >>>>> Installing JDK Java SE Development Kit 8u60 >>>>> java.io.IOException: JDK data is empty. >>>>> at hudson.tools.JDKInstaller.locate(JDKInstaller.java:418) >>>>> at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:134) >>>>> at >>>>> hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68) >>>>> at >>>>> hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) >>>>> at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:205) >>>>> at hudson.model.JDK.forNode(JDK.java:130) >>>>> at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:351) >>>>> at hudson.model.Run.getEnvironment(Run.java:2234) >>>>> at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:917) >>>>> at hudson.plugins.git.GitSCM.checkout(GitSCM.java:933) >>>>> at hudson.model.AbstractProject.checkout(AbstractProject.java:1270) >>>>> at >>>>> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609) >>>>> at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) >>>>> at >>>>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531) >>>>> at hudson.model.Run.execute(Run.java:1741) >>>>> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) >>>>> at hudson.model.ResourceController.execute(ResourceController.java:98) >>>>> at hudson.model.Executor.run(Executor.java:374) >>>>> Finished: FAILURE >>>>> >>>>> -- >>> 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/2dc653af-7bac-4c68-ba2f-be6184a6bca8%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/jenkinsci-users/2dc653af-7bac-4c68-ba2f-be6184a6bca8%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/6bc934e4-0c94-4cf1-a7ba-cdcb159abc36%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
