Jenkins 2.0 Piplines with GitHub Organization Folder Plugin and API rate_limit issues

21 views
Skip to first unread message

Kyle Partridge

unread,
Aug 9, 2016, 2:29:07 PM8/9/16
to Jenkins Users
I have an organization that has > 300 repos. When I try to use the github organization folder plugin to build pipelines in Jenkins 2.0, I will always hit the rate_limit and the process that builds the jobs errors out, due to the 5000 requests per hour that github enforces. I knew this would be a problem, as I have had similar problems with the GitHub Pull Request Builder plugin in the past.

Is this a plugin that I cannot use without upgrading to GitHub enterprise? Is there any alternative way of using this plugin that would work for our situation? I have attempted using the event webhooks, but that ultimately seems to lead to the same problem.


Any thoughts here?




Thanks,

Kyle Partridge

Jesse Glick

unread,
Aug 12, 2016, 9:53:45 PM8/12/16
to Jenkins Users
Probably the plugin needs to be optimized to make fewer requests. I do not believe it has been carefully analyzed in this regard. Ideally GitHub would make your limit proportional to the size of the organization.
Reply all
Reply to author
Forward
0 new messages