[JIRA] (JENKINS-57090) Some Java 8 artifacts return 404 on download

2019-06-17 Thread manuelramonleonjime...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ramon Leon commented on  JENKINS-57090  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Some Java 8 artifacts return 404 on download   
 

  
 
 
 
 

 
 This plugin could help: https://github.com/jenkinsci/adoptopenjdk-plugin I have my concerns (legals) about the next steps for the jdk-tool-plugin: https://github.com/jenkinsci/jdk-tool-plugin/pull/5#issuecomment-497321545  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.198834.124102000.1555.1560762420353%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57090) Some Java 8 artifacts return 404 on download

2019-04-17 Thread dnusb...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Devin Nusbaum edited a comment on  JENKINS-57090  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Some Java 8 artifacts return 404 on download   
 

  
 
 
 
 

 
 This is probably related to Oracle changing the license for Java 8 as of the April 16, 2019 release of JDK 8u211 and JDK 8u212  (or maybe for earlier versions, but I'm not sure) . In short, using Oracle JDK 8u211 and newer for non-personal use cases is a violation of the license agreement unless you are paying Oracle for some other license , see the warning [here|https://www . oracle.com/technetwork/java/javaee/downloads/jdk8-downloads-2133151.html] for details.  Using the JDK inside of Jenkins probably does not qualify as personal use according to the FAQ [here|https://www.oracle.com/technetwork/java/javase/overview/oracle-jdk-faqs.html].So, while maybe some crawler or plugin update could fix this, I don't think it would make sense to do so. You should switch to using OpenJDK builds from your OS package manager or something like https://adoptopenjdk.net/. Updating this plugin to download from AdoptOpenJDK sounds like a good RFE, but I have no plans to work on it.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57090) Some Java 8 artifacts return 404 on download

2019-04-17 Thread dnusb...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Devin Nusbaum assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57090  
 
 
  Some Java 8 artifacts return 404 on download   
 

  
 
 
 
 

 
Change By: 
 Devin Nusbaum  
 
 
Assignee: 
 Devin Nusbaum  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57090) Some Java 8 artifacts return 404 on download

2019-04-17 Thread dnusb...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Devin Nusbaum commented on  JENKINS-57090  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Some Java 8 artifacts return 404 on download   
 

  
 
 
 
 

 
 This is probably related to Oracle changing the license for Java 8 as of the April 16, 2019 release of JDK 8u211 and JDK 8u212. In short, using Oracle JDK 8u211 and newer for non-personal use cases is a violation of the license agreement unless you are paying Oracle for some other license. Using the JDK inside of Jenkins probably does not qualify as personal use according to the FAQ here. So, while maybe some crawler or plugin update could fix this, I don't think it would make sense to do so. You should switch to using OpenJDK builds from your OS package manager or something like https://adoptopenjdk.net/. Updating this plugin to download from AdoptOpenJDK sounds like a good RFE, but I have no plans to work on it.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57090) Some Java 8 artifacts return 404 on download

2019-04-17 Thread ow...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Owen Wood updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57090  
 
 
  Some Java 8 artifacts return 404 on download   
 

  
 
 
 
 

 
Change By: 
 Owen Wood  
 

  
 
 
 
 

 
 We've noted that some of the JDK 8 artifacts return 404.For example:{noformat}Installing JDK jdk-8u202-oth-JPR Downloading JDK from https://download.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-linux-x64.tar.gz FATAL: command execution failed java.io.IOException: Failed to request https://download.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-linux-x64.tar.gz?AuthParam= 1555471069_b10c8d4cbccf39e1a71d85ff3f9fc4c1 X  exit code=404 at hudson.tools.JDKInstaller.locate(JDKInstaller.java:492) at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:150) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:72) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206) at hudson.model.JDK.forNode(JDK.java:148) at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:341) at hudson.model.Run.getEnvironment(Run.java:2374) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:872) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:102) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.Build$BuildExecution.build(Build.java:206) at hudson.model.Build$BuildExecution.doRun(Build.java:163) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504) at hudson.model.Run.execute(Run.java:1816) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Build step 'Execute shell' marked build as failure Finished: FAILURE{noformat}We've noticed that JDK 7 artifacts seem fine.We've noticed that some JDK 8 artifacts still work. 8u202 and 8u201 give 404. 8u192 seem to download just fine (for example).    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
  

[JIRA] (JENKINS-57090) Some Java 8 artifacts return 404 on download

2019-04-17 Thread ow...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Owen Wood created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57090  
 
 
  Some Java 8 artifacts return 404 on download   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Devin Nusbaum  
 
 
Components: 
 jdk-tool-plugin  
 
 
Created: 
 2019-04-17 18:01  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Owen Wood  
 

  
 
 
 
 

 
 We've noted that some of the JDK 8 artifacts return 404. For example: 

 
Installing JDK jdk-8u202-oth-JPR 
Downloading JDK from https://download.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-linux-x64.tar.gz 
FATAL: command execution failed 
java.io.IOException: Failed to request https://download.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-linux-x64.tar.gz?AuthParam=1555471069_b10c8d4cbccf39e1a71d85ff3f9fc4c1 exit code=404 
at hudson.tools.JDKInstaller.locate(JDKInstaller.java:492) 
at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:150) 
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:72) 
at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109) 
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206) 
at hudson.model.JDK.forNode(JDK.java:148) 
at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:341) 
at hudson.model.Run.getEnvironment(Run.java:2374) 
at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:872) 
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:102) 
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) 
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) 
at hudson.model.Build$BuildExecution.build(Build.java:206) 
at hudson.model.Build$BuildExecution.doRun(Build.java:163) 
at