• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      I have a Hudson installation where "JDK 6" was configured to be 6u17. Now that JENKINS-5327 has been fixed, 6u18 appeared in the list in /configure, so I changed the tool installation use that. But when I run a build set to use "JDK 6", it still runs 6u17; no attempt is made to delete the installation and install 6u18.

          [JENKINS-5551] JdkInstaller fails to install new JDK version

          Code changed in hudson
          User: : jglick
          Path:
          trunk/hudson/main/core/src/main/java/hudson/tools/JDKInstaller.java
          http://jenkins-ci.org/commit/32082
          Log:
          [FIXED JENKINS-5551] Keep track of which JDK we have installed, so it is possible to upgrade without changing the tool's name.
          Note that this will force a redownload of the JDK in everyone's installation, even if it was already the right version; irritating but probably unavoidable.
          (Could compare to `java -version` but this would require parsing code to compare download IDs with self-reported versions.)

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : jglick Path: trunk/hudson/main/core/src/main/java/hudson/tools/JDKInstaller.java http://jenkins-ci.org/commit/32082 Log: [FIXED JENKINS-5551] Keep track of which JDK we have installed, so it is possible to upgrade without changing the tool's name. Note that this will force a redownload of the JDK in everyone's installation, even if it was already the right version; irritating but probably unavoidable. (Could compare to `java -version` but this would require parsing code to compare download IDs with self-reported versions.)

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: