提交 eb8fe708 编写于 作者: O Oliver Gondža

Merge pull request #1097 from daniel-beck/all-items-stats

[FIXED JENKINS-21448] Report number of jobs in any container
......@@ -156,7 +156,7 @@ public class UsageStatistics extends PageDecorator {
o.put("plugins",plugins);
JSONObject jobs = new JSONObject();
List<TopLevelItem> items = j.getItems();
List<TopLevelItem> items = j.getAllItems(TopLevelItem.class);
for (TopLevelItemDescriptor d : Items.all()) {
int cnt=0;
for (TopLevelItem item : items) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册