-
Bug
-
Resolution: Fixed
-
Major
-
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.
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.)