diff --git a/core/src/main/java/hudson/tools/ToolInstaller.java b/core/src/main/java/hudson/tools/ToolInstaller.java index 0651fca1161096a4122a9e63463aeefa9e776138..0c798b4f525d6459d64a9520307401ed73893630 100644 --- a/core/src/main/java/hudson/tools/ToolInstaller.java +++ b/core/src/main/java/hudson/tools/ToolInstaller.java @@ -113,7 +113,7 @@ public abstract class ToolInstaller implements Describable, Exten } String home = Util.fixEmptyAndTrim(tool.getHome()); if (home == null) { - home = sanitize(tool.getDescriptor().getDisplayName()) + File.separatorChar + sanitize(tool.getName()); + home = sanitize(tool.getDescriptor().getId()) + File.separatorChar + sanitize(tool.getName()); } FilePath root = node.getRootPath(); if (root == null) {