We are trying to set up SonarQube with a GitHub organization to integrate the Git repositories. However, the SonarQube dashboard is prompting us to create a GitHub app. Creating a GitHub app involves several steps, and we are unsure if this will affect the existing Git configuration or repositories
It isn’t required – although it shouldn’t affect any existing configuration. It makes onboarding new projects easy (and I recommend doing so), but it’s by no means required.
Thanks, Collin, for your response. I’ve created the GitHub App and integrated it with the SonarQube project, but it’s still not working. I believe there might be an issue with the webhook URL and callback URL, as I wasn’t sure what values to enter. I was unable to create a webhook URL, and for the callback URL, I provided the GitHub organization ID. As a result, when I click on the project, it redirects me to the GitHub dashboard.
I think you’d be better off following the docs.
For example:
- Callback URL: Your SonarQube instance’s base URL (the URL used to redirect to the SonarQube server).
Thanks suggestion… did the same updated callback url as SonarQube base url after going with documentation.