Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
Windows7
Description
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.
Attachments
Issue Links
- 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
-
I saw exit code 1,619 not -80.
Checking the Event Viewer of the slave node showed a path to the installer that did not exist after the failure,