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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Jeff Vincent
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!

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPJK9%3DJ0XBF2knnsrSF4HcoDf6_8%3DfUoyprkF0UL%3DyHoSf09OA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

Daniel Beck

> On 20.03.2017, at 21:25, Jeff <[hidden email]> 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.

--
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 [hidden email].
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 | Threaded
Open this post in threaded view
|

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

Jeff Vincent
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!

On Mon, Mar 20, 2017 at 7:22 PM, Daniel Beck <[hidden email]> wrote:

> On 20.03.2017, at 21:25, Jeff <[hidden email]> 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.

--
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 [hidden email].
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.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPJK9%3DJ_aZzX-nT4vCvY%3DnZyPRo-6%3D50mA9KwjGC7RWUNZCKCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.