-
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
-
Same problem here with Jenkins v1.574 and master running on Ubuntu, and slave running on Windows7 (x64):
Running our maven job with jdk8 required fails and gives the following console log:
Running the same maven job with jdk7 required succeeds on the same slave: