提交 951db7d5 编写于 作者: O Olivier Lamy

Merge pull request #411 from thatguystone/master

JENKINS-13185: Fix Computer.getHostName() to return the host.name value from the slave rather than null
......@@ -905,9 +905,8 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
// allow the administrator to manually specify the host name as a fallback. HUDSON-5373
cachedHostName = channel.call(new GetFallbackName());
hostNameCached = true;
return null;
return cachedHostName;
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册