For the latest updates and improvements, see the latest Cloud documentation instead.
Configuring GitHub Enterprise with Codacy Self-hosted¶
Codacy Self-hosted running on Docker stopped being supported on February 16, 2021. If you are a current customer and have any questions regarding the migration process, please reach out to your CSM or success@codacy.com for more information. |
Location¶
Endpoint/Hostname [required]¶
The endpoint or hostname where the GitHub Enterprise is deployed.
Should NOT contain:
- Port (ex: 9000)
Correct:¶
https://my.github.enterprise.example.com
Incorrect:¶
my.github.enterprise.example.com
https://my.github.enterprise.example.com/
https://my.github.enterprise.example.com:9000
https://user@pass:my.github.enterprise.example.com
my.github.enterprise.example.com:9000
my.github.enterprise.example.com:9000
Port¶
The port where the application is running.
This is not required.
The default port will be used if left empty.
Configuration¶
Protocol¶
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.
Private Mode¶
Whether your GitHub Enterprise is configured to use private mode or not.
GitHub Application¶
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.
Correct:¶
http://your.codacy.url.com
http://your.codacy.url.com:9000
http://53.43.42.12
http://53.43.42.12:9000
Incorrect:¶
your.codacy.url.com
your.codacy.url.com:9000
53.43.42.12
53.43.42.12:9000
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.
Share your feedback 📢
Did this page help you?
Thanks for the feedback! Is there anything else you'd like to tell us about this page?
255 characters left
We're sorry to hear that. Please let us know what we can improve:
255 characters left
Alternatively, you can create a more detailed issue on our GitHub repository.
Thanks for helping improve the Codacy documentation.
If you have a question or need help please contact support@codacy.com.