-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
-
1803.v98e3d8a_c8169
(split from https://issues.jenkins.io/browse/JENKINS-73151)
GitHub Branch Source performs tons of credentials lookup of *the same scan credentials* when scanning (branch indexing / organization scan). Which seems un-necessary and could be improved.
My observation was that for a org scan of an org with 100 repos (each having 1 or 2 branches) I would have the same scan credentials looked up more than 400 times. Finished in less than a minute. Only 37 repos had a Jenkinsfile and were eventually considered. I disabled build scheduling.
Will try to get more concrete details.