-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Windows7
I have jenkins 1.566 running. I have configured it to automatically install jdk8u5 from Oracle site. It has successfully done that for my linux slaves, but failed on two windows slaves.
The command Jenkins uses (note the quoting):
[8u5] $ c:\jenkins\tools\hudson.model.JDK\8u5\jdk.exe /s ADDLOCAL="ToolsFeature" REBOOT=ReallySuppress INSTALLDIR=c:\jenkins\tools\hudson.model.JDK\8u5 '/L \"c:\jenkins\tools\hudson.model.JDK\8u5\jdk.exe.install.log\"'
Failed to install JDK. Exit code=-80
ERROR: null
If I remove some quoting and run manually the following command
c:\jenkins\tools\hudson.model.JDK\8u5\jdk.exe /s ADDLOCAL="ToolsFeature" REBOOT=ReallySuppress INSTALLDIR=c:\jenkins\tools\hudson.model.JDK\8u5 /L c:\jenkins\tools\hudson.model.JDK\8u5\jdk.exe.install.log
Then installation is a success.
- is related to
-
JENKINS-5408 Quoting Issue with JDK Installer with Windows Slave
-
- Resolved
-
-
JENKINS-15945 Auto-install of JDK fails on Windows Slave
-
- Resolved
-
-
JENKINS-34012 Fail to automatically install JDK 1.8.0_77
-
- Closed
-
[JENKINS-23366] jdk8u5 installation fails on windows agents
Component/s | New: core [ 15593 ] | |
Component/s | New: remoting [ 15489 ] | |
Component/s | Original: slave-setup-plugin [ 15929 ] |
Link |
New:
This issue is related to |
Link |
New:
This issue is related to |
I'm also seeing this error but with Java 7u60 on Jenkins 1.567. I think it is related to a JDK installation changing from "install automatically" to not. When I auto-updated to 1.567 my Jenkin's configuration was modified; the version for the Sun installers for my JDK were incorrect, as if someone had randomized them. Separately (and I'm not sure how yet) the auto-install option was unchecked from all my JDKs. I then started having issues with JDK trying reinstall themselves and failing.
Installing E:\JenkinsSlave\tools\hudson.model.JDK\JDK_7u60\jdk.exe
[JDK_7u60] $ E:\JenkinsSlave\tools\hudson.model.JDK\JDK_7u60\jdk.exe /s ADDLOCAL="ToolsFeature" REBOOT=ReallySuppress INSTALLDIR=E:\JenkinsSlave\tools\hudson.model.JDK\JDK_7u60 '/L \"E:\JenkinsSlave\tools\hudson.model.JDK\JDK_7u60\jdk.exe.install.log\"'
Failed to install JDK. Exit code=-80
ERROR: SEVERE ERROR occurs
org.jenkinsci.lib.envinject.EnvInjectException: hudson.AbortException