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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Windows 7 64-bit
      Hudson 1.373, executed as a service by a 1.6.0_20 JVM.
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link 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

            Show
            scm_issue_link 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
            Hide
            dogfood 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
            Show
            dogfood 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
            Hide
            scm_issue_link 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.

            Show
            scm_issue_link 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.

              People

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

                Dates

                Created:
                Updated:
                Resolved: