diff --git a/src/main/java/com/cloudbees/jenkins/Cleaner.java b/src/main/java/com/cloudbees/jenkins/Cleaner.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/cloudbees/jenkins/Cleaner.java
+++ b/src/main/java/com/cloudbees/jenkins/Cleaner.java
@@ -52,7 +52,7 @@ public class Cleaner extends PeriodicWork {
         }
 
         // subtract all the live repositories
-        for (AbstractProject<?,?> job : Hudson.getInstance().getItems(AbstractProject.class)) {
+        for (AbstractProject<?,?> job : Hudson.getInstance().getAllItems(AbstractProject.class)) {
             GitHubPushTrigger trigger = job.getTrigger(GitHubPushTrigger.class);
             if (trigger!=null) {
                 names.removeAll(GitHubRepositoryNameContributor.parseAssociatedNames(job));
Address JENKINS-<I> by using getAllIItems instead of getItems