Jenkins 2.49: Can't install JDK from tar.gz?

2,877 views
Skip to first unread message

Jeff

unread,
Mar 20, 2017, 4:25:37 PM3/20/17
to jenkins...@googlegroups.com
My Jenkins instance was recently upgraded from 1.x to 2.48 behind a firewall with limited connectivity.  While I recently got permissions configured to connect via a proxy to the Jenkins Update servers, I am unable to automatically install the JDK from Oracle.

So I manually uploaded the jdk-8u121-linux-x64.tar.gz to our Nexus server and configured the JDK auto installer to download from the Nexus URL.  

When I run a job configured to use the new JDK + installer, I get the following error with no other apparent context as to why:

Installer "Extract *.zip/*.tar.gz" cannot be used to install "jdk1.8.0_121" on the node "jenkins-slave-01"

Any thoughts as to why this isn't working or what I should look at?   I can't find anything in the logs.

Thanks!

Daniel Beck

unread,
Mar 20, 2017, 9:22:54 PM3/20/17
to jenkins...@googlegroups.com

> On 20.03.2017, at 21:25, Jeff <preda...@gmail.com> wrote:
>
> Any thoughts as to why this isn't working or what I should look at? I can't find anything in the logs.

The "label" you can configure for an installer is not some arbitrary, well, label, but tied to the node labels in Jenkins to allow you to specify different installers for different nodes (e.g. one for Linux, different one for OS X, etc.). Make sure you didn't specify a label that doesn't match this agent.

Jeff

unread,
Mar 21, 2017, 11:29:29 AM3/21/17
to jenkins...@googlegroups.com
Perfect! That was it! I was apparently on autopilot when I configured the installer and did give it a label that matched the Name attribute.

Thanks again!


--
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 jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4AFFFAC4-218A-4FAA-B025-99D56B77C946%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages