[JIRA] [core] (JENKINS-23366) jdk8u5 installation fails on windows slaves

2015-03-09 Thread ni...@dybdahl.dk (JIRA)














































Niels Dybdahl
 commented on  JENKINS-23366


jdk8u5 installation fails on windows slaves















Updated today to Jenkins 1.602 and then I could install JDK8 on the windows slaves.
Strangely it rebooted the slave in the first two attempts, but in the third attempt it worked.



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-23366) jdk8u5 installation fails on windows slaves

2015-02-04 Thread ni...@dybdahl.dk (JIRA)














































Niels Dybdahl
 commented on  JENKINS-23366


jdk8u5 installation fails on windows slaves















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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-23366) jdk8u5 installation fails on windows slaves

2015-02-04 Thread ni...@dybdahl.dk (JIRA)














































Niels Dybdahl
 commented on  JENKINS-23366


jdk8u5 installation fails on windows slaves















Similar error using Jenkins 1.567 and JDK 1.8u31:
EnvInject - Loading node environment variables.
Installing c:\programs\jenkins\slave\tools\hudson.model.JDK\JDK_8\jdk.exe
JDK_8 $ 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\"'
Failed to install JDK. Exit code=-80
ERROR: SEVERE ERROR occurs
org.jenkinsci.lib.envinject.EnvInjectException: hudson.AbortException
	at org.jenkinsci.plugins.envinject.service.EnvInjectVariableGetter.getBuildVariables(EnvInjectVariableGetter.java:84)
	at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironmentWithoutJobPropertyObject(EnvInjectListener.java:231)
	at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:46)
	at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:581)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:487)
	at hudson.model.Run.execute(Run.java:1710)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:234)
Caused by: hudson.AbortException
	at hudson.tools.JDKInstaller.install(JDKInstaller.java:276)
	at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:140)
	at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
	at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
	at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:204)
	at hudson.model.JDK.forNode(JDK.java:123)
	at org.jenkinsci.plugins.envinject.service.EnvInjectVariableGetter.getBuildVariables(EnvInjectVariableGetter.java:79)
	... 8 more



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-23366) jdk8u5 installation fails on windows slaves

2015-02-04 Thread ni...@dybdahl.dk (JIRA)












































 
Niels Dybdahl
 edited a comment on  JENKINS-23366


jdk8u5 installation fails on windows slaves
















Similar error using Jenkins 1.567 and JDK 1.8u31:

[EnvInject] - Loading node environment variables.
Installing c:\programs\jenkins\slave\tools\hudson.model.JDK\JDK_8\jdk.exe
[JDK_8] $ 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\"'
Failed to install JDK. Exit code=-80
ERROR: SEVERE ERROR occurs
org.jenkinsci.lib.envinject.EnvInjectException: hudson.AbortException
	at org.jenkinsci.plugins.envinject.service.EnvInjectVariableGetter.getBuildVariables(EnvInjectVariableGetter.java:84)
	at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironmentWithoutJobPropertyObject(EnvInjectListener.java:231)
	at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:46)
	at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:581)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:487)
	at hudson.model.Run.execute(Run.java:1710)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:234)
Caused by: hudson.AbortException
	at hudson.tools.JDKInstaller.install(JDKInstaller.java:276)
	at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:140)
	at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
	at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
	at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:204)
	at hudson.model.JDK.forNode(JDK.java:123)
	at org.jenkinsci.plugins.envinject.service.EnvInjectVariableGetter.getBuildVariables(EnvInjectVariableGetter.java:79)
	... 8 more




























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.