File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
main/resources/org/jenkinsci/plugins/github/config/GitHubPluginConfig
test/java/org/jenkinsci/plugins/github/internal Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ f.section(title: descriptor.displayName) {
10
10
11
11
f. repeatableHeteroProperty(
12
12
field : " configs" ,
13
- hasHeader : " true" )
13
+ hasHeader : " true" ,
14
+ addCaption : _(" Add GitHub Server" ))
14
15
}
15
16
16
17
f. advanced() {
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ private void makeCachedRequestWithCredsId(String credsId) throws IOException {
105
105
GitHubServerConfig config = new GitHubServerConfig (credsId );
106
106
config .setApiUrl (github .serverConfig ().getApiUrl ());
107
107
config .setClientCacheSize (1 );
108
- GitHub gitHub = new GitHubLoginFunction ().apply (config );
108
+ GitHub gitHub = GitHubServerConfig . loginToGithub ().apply (config );
109
109
gitHub .getMyself ();
110
110
}
111
111
}
You can’t perform that action at this time.
0 commit comments