The endpoint or hostname where the GitHub Enterprise is deployed.
Should NOT contain:
- Port (ex: 9000)
The port where the application is running.
This is not required.
The default port will be used if left empty.
Choose between HTTP and HTTPS protocol for communicating with your GitHub Enterprise installation. If you have problems connecting with the instance, this may be the cause.
Whether your GitHub Enterprise is configured to use private mode or not.
Application Creation [required]
To integrate with GitHub we use a GitHub Application.
To create the application in your GitHub Enterprise, visit
settings/applications/new and create an application pointing to your local Codacy deployment URL.
You can fill all the fields with the suggested text above or use your own text except for the field
Authorization callback URL where you must insert your local Codacy deployment url.
The URL should contain the endpoint/ip, the protocol (HTTP or HTTPS), and, if applicable, the port where it is running.
Token retrieval [required]
After the application is created, you should copy both the
Client ID and the
Client Secret and paste them in the setup page on your Codacy Self-hosted.
After this is done you will be able to use GitHub Enterprise as an authentication method to add repositories and as an integration in the repository settings.