-
Bug
-
Resolution: Unresolved
-
Major
-
None
The following code scripted pipeline code
RunList builds = new RunList(script.currentBuild.rawBuild.getParent()).limit(20) for(run in builds) { }
Throws a java.util.NoSuchElementException
Situation: I have a job with 12 runs, 2 runs are deleted: run 1 and run 6
For some reason jenkins thinks run 1 still exists while building the RunList iterator. I can find no trace of run 1 in the $JENKINS_HOME/jobs/.. folder, so no idea why this is happening