[JIRA] (JENKINS-54522) Host JDK Tool Plugin download failing

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


 
 
 
 

 
 
 

 
   
 Owen Wood updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-54522  
 
 
  Host JDK Tool Plugin download failing   
 

  
 
 
 
 

 
Change By: 
 Owen Wood  
 

  
 
 
 
 

 
 I'm on jdk-tool:1.1 and Jenkins 2.138.2.  I've configured JDK10 in Global Tools per the attached screenshot.  When running a job that uses it, I get:{noformat}Installing JDK jdk-10.0.2-oth-JPRDownloading JDK from http://download.oracle.com/otn-pub/java/jdk/10.0.2+13/19aef61b38124481863b1413dce1855f/jdk-10.0.2_linux-x64_bin.tar.gz[Pipeline] }[Pipeline] // withEnv[Pipeline] }[Pipeline] // node[Pipeline] End of Pipelinejava.io.IOException: Failed to request https://download.oracle.com/otn-pub/java/jdk/10.0.2+13/19aef61b38124481863b1413dce1855f/jdk-10.0.2_linux-x64_bin.tar.gz?AuthParam=1541612216_106847a9a60b4e512bb6e81d31a78d22 exit code=404{noformat}I believe these URLs should be:[http://download.oracle.com/otn|http://download.oracle.com/otn-pub/java/jdk/10.0.2+13/19aef61b38124481863b1413dce1855f/jdk-10.0.2_linux-x64_bin.tar.gz]instead of:[http://download.oracle.com/otn-pub|http://download.oracle.com/otn-pub/java/jdk/10.0.2+13/19aef61b38124481863b1413dce1855f/jdk-10.0.2_linux-x64_bin.tar.gz]I've tried using other installer methods such as Extract *.zip/ \ *.tar.gz and also the Custom Tool plugin instead, but these lack the authentication-handling needed to download JDK from Oracle.If the "Install from java.sun.com" method is currently broken, how are people using the official JDK with Jenkins?  Doesn't seem to be a public docker image for it.  Is everyone using openjdk instead?  Or maintaining their own jdk docker images?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 

[JIRA] (JENKINS-54522) Host JDK Tool Plugin download failing

2018-11-07 Thread dnusb...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Devin Nusbaum assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-54522  
 
 
  Host JDK Tool Plugin download failing   
 

  
 
 
 
 

 
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-54522) Host JDK Tool Plugin download failing

2018-11-07 Thread dnusb...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Devin Nusbaum commented on  JENKINS-54522  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Host JDK Tool Plugin download failing   
 

  
 
 
 
 

 
 Brendan Holmes Those URLs come straight from the crawler (You can see them listed here https://updates.jenkins.io/updates/hudson.tools.JDKInstaller.json), so you'd need to update this file so that it produces the right links for JDK 10 (maybe as simple as fixing the initial landing page for JDK 10?). If you want to take that on, I am happy to review your work, but I do not expect to be able to work on this myself anytime soon. 

If the "Install from java.sun.com" method is currently broken, how are people using the official JDK with Jenkins?
 See this comment in JENKINS-54305 for recommended ways to use a specific JDK. "Install from java.sun.com" should be considered deprecated and I would not use 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-54522) Host JDK Tool Plugin download failing

2018-11-07 Thread m...@brendanh.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Brendan Holmes created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-54522  
 
 
  Host JDK Tool Plugin download failing   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Devin Nusbaum  
 
 
Attachments: 
 Untitled.png  
 
 
Components: 
 jdk-tool-plugin  
 
 
Created: 
 2018-11-07 18:16  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Brendan Holmes  
 

  
 
 
 
 

 
 I'm on jdk-tool:1.1 and Jenkins 2.138.2.  I've configured JDK10 in Global Tools per the attached screenshot.  When running a job that uses it, I get: 

 
Installing JDK jdk-10.0.2-oth-JPR
Downloading JDK from http://download.oracle.com/otn-pub/java/jdk/10.0.2+13/19aef61b38124481863b1413dce1855f/jdk-10.0.2_linux-x64_bin.tar.gz
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
java.io.IOException: Failed to request https://download.oracle.com/otn-pub/java/jdk/10.0.2+13/19aef61b38124481863b1413dce1855f/jdk-10.0.2_linux-x64_bin.tar.gz?AuthParam=1541612216_106847a9a60b4e512bb6e81d31a78d22 exit code=404 

 I believe these URLs should be: http://download.oracle.com/otn instead of: http://download.oracle.com/otn-pub I've tried using other installer methods such as Extract *.zip/*.tar.gz and also the Custom Tool plugin instead, but these lack the authentication-handling needed to download JDK from Oracle. If the "Install from java.sun.com" method is currently broken, how are people using the official JDK with Jenkins?  Doesn't seem to be a public docker image for it.  Is everyone using openjdk instead?  Or maintaining their own jdk docker images?