提交 de71106a 编写于 作者: K kohsuke

<li class=bug>

    Fixed a JDK path separator issue between Windows master and Unix slaves.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19862 71c3de6d-444a-0410-be80-ed276b4c234a
上级 650b3fe1
......@@ -110,7 +110,7 @@ public final class JDK extends ToolInstallation implements NodeSpecific<JDK>, En
*/
public void buildEnvVars(Map<String,String> env) {
// see EnvVars javadoc for why this adss PATH.
env.put("PATH+JDK",getBinDir().getPath());
env.put("PATH+JDK",getHome()+"/bin");
env.put("JAVA_HOME",getHome());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册