mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 13:32:24 +00:00
[FIXED JENKINS-7288]
Used ReallySuppress as suggested in the ticket to hopefully fix the reboot problem.
This commit is contained in:
1 parent
83f204fd59
commit
d9ffc44a2f
2 files changed
+4
-1
No files matched your search
@@ -224,7 +224,7 @@ public class JDKInstaller extends ToolInstaller {
|
||||
args.add("/s");
|
||||
// according to http://community.acresso.com/showthread.php?t=83301, \" is the trick to quote values with whitespaces.
|
||||
// Oh Windows, oh windows, why do you have to be so difficult?
|
||||
args.add("/v/qn REBOOT=Suppress INSTALLDIR=\\\""+ expectedLocation +"\\\" /L \\\""+logFile+"\\\"");
|
||||
args.add("/v/qn REBOOT=ReallySuppress INSTALLDIR=\\\""+ expectedLocation +"\\\" /L \\\""+logFile+"\\\"");
|
||||
|
||||
int r = launcher.launch().cmds(args).stdout(out)
|
||||
.pwd(new FilePath(launcher.getChannel(), expectedLocation)).join();
|
||||
|
||||
Reference in new issue
Block a user