Thanks @David Nusbaum
Here's a trace from a test job that does nothing more than execute a `date 
/t` on the slave:

Building remotely on ROCDVMSDK2x <http://rocwp0589:8080/computer/ROCDVMSDK2x> 
(SLAVE FTP_CLIENT) in workspace C:\Jenkins\workspace\z_date
Installing JDK jdk-9.0.1-oth-JPR
FATAL: Unable to produce a script filehudson.AbortException 
<http://stacktrace.jenkins-ci.org/search?query=hudson.AbortException>: Couldn't 
find the right download for WINDOWS and i386 combination
        at hudson.tools.JDKInstaller.locate(JDKInstaller.java:443) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tools.JDKInstaller.locate&entity=method>
        at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:138) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tools.JDKInstaller.performInstallation&entity=method>
        at 
hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:72) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tools.InstallerTranslator.getToolHome&entity=method>
        at 
hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tools.ToolLocationNodeProperty.getToolHome&entity=method>
        at 
hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tools.ToolInstallation.translateFor&entity=method>
        at hudson.model.JDK.forNode(JDK.java:144) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.JDK.forNode&entity=method>
        at 
hudson.model.AbstractProject.getEnvironment(AbstractProject.java:358) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.getEnvironment&entity=method>
        at hudson.model.Run.getEnvironment(Run.java:2264) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.getEnvironment&entity=method>
        at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:921) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild.getEnvironment&entity=method>
        at 
com.lookout.jenkins.EnvironmentScript.generateEnvironment(EnvironmentScript.java:147)
 
<http://stacktrace.jenkins-ci.org/search/?query=com.lookout.jenkins.EnvironmentScript.generateEnvironment&entity=method>
        at 
com.lookout.jenkins.EnvironmentScript.setUp(EnvironmentScript.java:119) 
<http://stacktrace.jenkins-ci.org/search/?query=com.lookout.jenkins.EnvironmentScript.setUp&entity=method>
        at hudson.model.Build$BuildExecution.doRun(Build.java:157) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.doRun&entity=method>
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method>
        at hudson.model.Run.execute(Run.java:1728) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method>
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method>
        at hudson.model.ResourceController.execute(ResourceController.java:98) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method>
        at hudson.model.Executor.run(Executor.ja 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method>va:405)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method>



We're not using a JDK tool in our builds.

This has become a huge pain.  I can see from your link that Oracle is 
probably to blame, but I don't see where I can change Jenkins' mind about 
what JDK to look for.

Thanks again.


On Friday, December 1, 2017 at 1:58:11 PM UTC-5, Devin Nusbaum wrote:
>
> I suspect the error is being thrown by the JDK installer tool and is 
> unrelated to EnvInject. Do you have a full stack trace, and are you using a 
> JDK tool in your build configured with the “Install from java.sun.com” 
> method to install JDK 9? if so, it looks like Oracle has removed the 
> 32-bit JDK 9 downloads <https://stackoverflow.com/a/46371775>, so I guess 
> you could use JDK 8 instead.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5653a824-6cbc-4edf-bba9-a6a3c1d1e3b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to