File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed
src/main/resources/org/jenkinsci/plugins/github/config/GitHubServerConfig Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1
1
< div >
2
- If you use GitHub Enterprise, specify the API end point here
2
+ API endpoint of a GitHub server.
3
+
4
+ To use public github.com, leave this field
5
+ to the default value of < code > https://api.github.com</ code > .
6
+
7
+ Otherwise if you use GitHub Enterprise, specify its API endpoint here
3
8
(e.g., < code > https://ghe.acme.com/api/v3/</ code > ).
4
- The default value of < code > https://api.github.com</ code >
5
- refers to the public github.com instance.
6
9
</ div >
Original file line number Diff line number Diff line change 1
1
< div >
2
- Cache size in MB used by GitHub client. This can speed up fetching data form GH and reduce rate limits consuming.< br />
3
- GH + okHttp do all work for results reliability
4
- (< a href ="https://developer.github.com/v3/#conditional-requests "> Conditional-requests in GitHub documentation</ a > )< br />
5
-
6
- Set < b > 0</ b > to disable this feature
2
+ < p >
3
+ Jenkins will use this much space in < tt > $JENKINS_HOME</ tt > to cache data retrieved from GitHub API calls.
4
+ A cache will help improve the performance by avoiding unnecessary data transfer, and by doing so it also
5
+ makes it less likely to hit < a href ="https://developer.github.com/v3/#rate-limiting "> API rate limit</ a >
6
+ by the use of (< a href ="https://developer.github.com/v3/#conditional-requests "> conditional GET</ a > calls.
7
+ </ p >
8
+ < p >
9
+ In an unlikely event that cache is causing a problem, set this to < b > 0</ b > to disable cache altogether.
10
+ </ p >
7
11
</ div >
You can’t perform that action at this time.
0 commit comments