-
Bug
-
Resolution: Fixed
-
Major
-
None
The method checkApiUrlValidity() does not work fine when a GitHub Enterprise instance is configured in private mode.
When I've added this method in GitHub API forget to check with this configuration:
public void checkApiUrlValidity() throws IOException { retrieve().to("/", GHApiInfo.class).check(apiUrl); }
Probably, we need to do changes in this plugin (to handle the error) and in GitHub API.
- is related to
-
JENKINS-33228 GitHub server configuration undocumented / duplicated
-
- Open
-
- links to
Code changed in jenkins
User: recena
Path:
src/main/java/org/jenkinsci/plugins/github_branch_source/Endpoint.java
http://jenkins-ci.org/commit/github-branch-source-plugin/e32e6946dde44fe66f6b14fc54e764c88ddb3489
Log:
JENKINS-33318@svanoort's comment was addressed