Install and configure Jenkins on Windows 7 with automatic JDK installation

I am surviving the jenkins-the-definitive-guide . I installed Jenkins on Windows 7 64 bit using the Windows installer. I configured the build and configuration of Jenkins to automatically install JDK 7u3 in the first build. When the build starts, I see this in the console logs:

Started by user anonymous
Building in workspace C:\Program Files (x86)\Jenkins\workspace\gameoflife-default
Installing C:\Program Files (x86)\Jenkins\tools\JDK_7u3\jdk.exe 
[JDK_7u3] $ "C:\Program Files (x86)\Jenkins\tools\JDK_7u3\jdk.exe" /s /v /qn /L '\"C:\Program Files (x86)\Jenkins\tools\JDK_7u3\jdk.exe.install.log\"' REBOOT=ReallySuppress 'INSTALLDIR=\"C:\Program Files (x86)\Jenkins\tools\JDK_7u3\"'

He never goes beyond that.

I tried: - to guarantee that exe is not blocked - to ensure the service account has administrator rights - tried to install other JDKs.

Any thoughts?

+3
source share
1 answer

Error in automatic JDK installation for JDK7, it seems:
https://issues.jenkins-ci.org/browse/JENKINS-5408

, msiexec, , . , , . ( ):

c:\jenkins\tools\JDK\jdk-1.7.0_06\jdk.exe /s /v /qn /L \"c:\jenkins\tools\JDK\jdk-1.7.0_06\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"c:\jenkins\tools\JDK\jdk-1.7.0_06\"

- msiexec, /v , . , ( , ). , INSTALLDIR. , ( msiexec). :

c:\jenkins\tools\JDK\jdk-1.7.0_06\jdk.exe /s /L \"c:\jenkins\tools\JDK\jdk-1.7.0_06\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"c:\jenkins\tools\JDK\jdk-1.7.0_06\"

, /norestart, , , .

, , , " JDK7". , , , , . .

+6

All Articles