Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7288

Auto-install of JDK 6 reboots Windows computer (still)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Windows 7 64-bit
      Hudson 1.373, executed as a service by a 1.6.0_20 JVM.

      As already reported in issue 6597, which I cloned (7287) hoping to add a comment (I couldn't, so issue 7287 is not really useful - sorry about that), automatic installation of JDK 6 update 21 triggered a reboot, without any prompt or warning.

      I'm aware of the REBOOT=Suppress parameter present in hudson.tools.JDKInstaller. It's just that its behaviour is documented in MSDN as "If there is no user interface, the system automatically restarts at each ForceReboot."

      It seems that the value "ReallySuppress" may do what it is needed here, though I haven't tested it myself. I just wanted to report this, in case it might avoid other surprise-reboots to unaware administrators.

          [JENKINS-7288] Auto-install of JDK 6 reboots Windows computer (still)

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/tools/JDKInstaller.java
          http://jenkins-ci.org/commit/jenkins/d9ffc44a2fdeae76e6b53b8a140878615408b6c7
          Log:
          [FIXED JENKINS-7288]

          Used ReallySuppress as suggested in the ticket to hopefully fix the
          reboot problem.

          Compare: https://github.com/jenkinsci/jenkins/compare/cfc6349...d9ffc44

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/tools/JDKInstaller.java http://jenkins-ci.org/commit/jenkins/d9ffc44a2fdeae76e6b53b8a140878615408b6c7 Log: [FIXED JENKINS-7288] Used ReallySuppress as suggested in the ticket to hopefully fix the reboot problem. Compare: https://github.com/jenkinsci/jenkins/compare/cfc6349...d9ffc44

          dogfood added a comment -

          Integrated in jenkins_main_trunk #1131
          [FIXED JENKINS-7288]

          Kohsuke Kawaguchi : d9ffc44a2fdeae76e6b53b8a140878615408b6c7
          Files :

          • core/src/main/java/hudson/tools/JDKInstaller.java
          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #1131 [FIXED JENKINS-7288] Kohsuke Kawaguchi : d9ffc44a2fdeae76e6b53b8a140878615408b6c7 Files : core/src/main/java/hudson/tools/JDKInstaller.java changelog.html

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/tools/JDKInstaller.java
          http://jenkins-ci.org/commit/jenkins/d9ffc44a2fdeae76e6b53b8a140878615408b6c7
          Log:
          [FIXED JENKINS-7288]

          Used ReallySuppress as suggested in the ticket to hopefully fix the
          reboot problem.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/tools/JDKInstaller.java http://jenkins-ci.org/commit/jenkins/d9ffc44a2fdeae76e6b53b8a140878615408b6c7 Log: [FIXED JENKINS-7288] Used ReallySuppress as suggested in the ticket to hopefully fix the reboot problem.

            Unassigned Unassigned
            tatablack tatablack
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: