Sonarqube Integration with GitHub
After installed the sonarqube community plugin, we can analyze pull request now.
To allow sonarqube to decorate the pull request with analysis result, complete following steps,
- Create a github app and configure the github app in sonarqube global setting following guide github-integration
-
Install the created github app to your repositories that need to integrate with sonarqube following guide installing-github-apps
-
Enable the PR decoration in sonarqube
In project General Settings -> Pull Request Decoration, configure the required options, and start an analysis, sonarqube will decorate the pull request.
-
Analyze pull request with sonarscanner
The following parameters are required,