I tried running the jdk.exe without the quotes:

c:\programs\jenkins\slave\tools\hudson.model.JDK\JDK_8\jdk.exe /s ADDLOCAL="ToolsFeature" REBOOT=ReallySuppress INSTALLDIR=c:\programs\jenkins\slave\tools\hudson.model.JDK\JDK_8 /L c:\programs\jenkins\slave\tools\hudson.model.JDK\JDK_8\jdk.exe.install.log

That did not work either. I got a log file, but nothing was installed.
I then tried running it without the log parameter:

c:\programs\jenkins\slave\tools\hudson.model.JDK\JDK_8\jdk.exe /s ADDLOCAL="ToolsFeature" REBOOT=ReallySuppress INSTALLDIR=c:\programs\jenkins\slave\tools\hudson.model.JDK\JDK_8

That worked. But when I then ran my Jenkins project, it just deleted the JDK, downloaded it and tried to run the original command.
Maybe there is a database field somewhere that remembers if the JDK has been installed on the slave or not. If that could be set to installed, then we would have a workaround.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to