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

JdkInstaller fails to install new JDK version

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None

      Description

      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.

        Activity

        jglick Jesse Glick created issue -
        Hide
        scm_issue_link 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.)

        Show
        scm_issue_link 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.)
        scm_issue_link SCM/JIRA link daemon made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        abayer abayer made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: