Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: github-branch-source-plugin
-
Labels:None
-
Similar Issues:
Description
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.
Attachments
Issue Links
- is related to
-
JENKINS-33228 GitHub server configuration undocumented / duplicated
-
- Open
-
- links to
Code changed in jenkins
User: Manuel Recena
Path:
pom.xml
src/main/java/org/jenkinsci/plugins/github_branch_source/Endpoint.java
src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/help-apiUri.html
http://jenkins-ci.org/commit/github-branch-source-plugin/58db4cc1545ad5cf4e968f3513d218b5ce22e0f4
Log:
Revert "
JENKINS-33318GHE server validation with private mode enabled"