Don't Use GitHub API For GitHub Organization Job

33 views
Skip to first unread message

ape...@shoprunner.com

unread,
Sep 4, 2018, 9:47:17 PM9/4/18
to Jenkins Users
We switched over to checking out our projects with SSH credentials because we are constantly butting up against the github API quota. 

When a build begins the first thing you see is the job checking in with the GitHub API to see the rate limit.  If we are checking out w/ SSH what is the purpose of that?

Is there a way to make the builds not use the API at all?

Jan Monterrubio

unread,
Sep 7, 2018, 9:29:49 AM9/7/18
to jenkins...@googlegroups.com
I would assume the use of the GitHub API at the org level is to find all repositories, and then the branches for each repository. That might be the nature of the GitHub Organization folder. 

Maybe it could be enhanced to use api v4 GraphQL which should get us all the info in one query. 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7a6d7ef8-1700-4042-941b-d1ba74fef440%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages