-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins 2.10, github-branch-source-plugin 1.7
We have quite a large organization in Github, lots of repos with lots of branches. Running the organization scan works well for a while, and then begins erroring out with
org.jenkinsci.plugins.github_branch_source.RateLimitExceededException: GitHub API rate limit exceeded
This is pretty rough since it always starts in the same place, and I haven't been able to figure out ANY way to add a project from the back of the list that recently added a Jenkinsfile. I am using a valid set of credentials (all the repos are private, so it wouldn't work otherwise anyway).
- is duplicated by
-
JENKINS-33490 RateLimitExceededException not handled well inside iterators
-
- Closed
-
-
JENKINS-37866 The plugin spams Github API
-
- Closed
-
-
JENKINS-41332 Plugin should be more resilient to network or rate-limit errors
-
- Closed
-
- is related to
-
JENKINS-38937 GitHub API cache is not working
-
- Closed
-
-
JENKINS-34600 Improve the performance of scheduling a build
-
- Closed
-
-
JENKINS-37866 The plugin spams Github API
-
- Closed
-
- relates to
-
JENKINS-33490 RateLimitExceededException not handled well inside iterators
-
- Closed
-
-
JENKINS-41112 GitHub Branch Source should throttle calls to stay below rate limit
-
- Closed
-
-
JENKINS-42400 GitHub Branch source plugin hits rate limit too easily
-
- Closed
-
- links to
Code changed in jenkins
User: Stephen Connolly
Path:
pom.xml
src/main/java/org/jenkinsci/plugins/github_branch_source/Connector.java
src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubBuildStatusNotification.java
src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubClosable.java
src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubConsoleNote.java
src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMFile.java
src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMFileSystem.java
src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java
src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMProbe.java
src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
http://jenkins-ci.org/commit/github-branch-source-plugin/8a393a4231a4eda81cd4f931d9bc07804713543d
Log:
JENKINS-36121Throttle API usage rather than trip the API limit