提交 ca41c677 编写于 作者: M mindless

External builds were shown in Build History of every node.. now omit these on all

node-specific Build History pages and show only on top level history.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16021 71c3de6d-444a-0410-be80-ed276b4c234a
上级 792730ff
......@@ -90,10 +90,8 @@ public class RunList extends ArrayList<Run> {
public RunList node(Node node) {
for (Iterator<Run> itr = iterator(); itr.hasNext();) {
Run r = itr.next();
if (r instanceof AbstractBuild) {
if (((AbstractBuild)r).getBuiltOn()!=node) {
itr.remove();
}
if (!(r instanceof AbstractBuild) || ((AbstractBuild)r).getBuiltOn()!=node) {
itr.remove();
}
}
return this;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册