Forgot to remove SCMTriggerItem everywhere in View
@@ -64,7 +64,6 @@ import jenkins.model.item_category.Categories;
import jenkins.model.item_category.Category;
import jenkins.model.item_category.ItemCategory;
import jenkins.scm.RunWithSCM;
-import jenkins.triggers.SCMTriggerItem;
import jenkins.util.ProgressiveRendering;
import jenkins.util.xml.XMLUtils;
@@ -829,7 +828,6 @@ public abstract class View extends AbstractModelObject implements AccessControll
int itemCount = 0;
for (Item item : items) {
for (Job<?,?> job : item.getAllJobs()) {
- if (job instanceof SCMTriggerItem) {
RunList<? extends Run<?, ?>> builds = job.getBuilds();
int buildCount = 0;
for (Run<?, ?> r : builds) {
@@ -868,7 +866,6 @@ public abstract class View extends AbstractModelObject implements AccessControll
progress((itemCount + 1.0 * buildCount / builds.size()) / (items.size() + 1));
}
}
- }
itemCount++;
progress(1.0 * itemCount / (items.size() + /* handling User.getAll */1));
}
