提交 009f4193 编写于 作者: K kohsuke

exposed all the builds at depth=2 or above.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10466 71c3de6d-444a-0410-be80-ed276b4c234a
上级 c2263bd0
......@@ -473,6 +473,7 @@ public abstract class Job<JobT extends Job<JobT, RunT>, RunT extends Run<JobT, R
*
* @return never null. The first entry is the latest build.
*/
@Exported(visibility=-1)
public List<RunT> getBuilds() {
return new ArrayList<RunT>(_getRuns().values());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册