提交 0cfcb492 编写于 作者: K kohsuke

This method can return null.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13274 71c3de6d-444a-0410-be80-ed276b4c234a
上级 8a0e1612
......@@ -114,6 +114,9 @@ public abstract class AbstractBuild<P extends AbstractProject<P,R>,R extends Abs
/**
* Returns a {@link Slave} on which this build was done.
*
* @return
* null, for example if the slave that this build run no logner exists.
*/
public Node getBuiltOn() {
if(builtOn==null || builtOn.equals(""))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册