...
To be able to analyse software in SonarQube you need to create specific SonarQube project first. This can easily be done by following the procedure following the link.
MANUAL: Adding Projects to SonarQube
Options to analyse your project
...
Integrating SonarQube with GitLab allows to perform SonarQube analysis for all GitLab projects that use the CI/CD pipeline.
MANUAL: Continuous Integration Setup with GitLab CI and SonarQube
Integrating SonarQube with Bitbucket provides automated feedback on code quality issues in the relevant context of pull requests where the peer code reviews are happening.
MANUAL: Bitbucket and SonarQube
Add your source code to SonarQube
...
So if you want to try SonarQube please follow the following process:
MANUAL: Adding Source Code directly to a SonarQube project
Another approach: Source Code provided in a repository and a build management system (Gitlab, Jenkins and SonarQube)
Although Bitbucket and Bamboo are supposed to be GÉANT's todays standard, from historical reasons there are still some development projects throughout the GÉANT development community that use other tools. Because the number of potential variations is very high, we decided to provide a manual for a combination of tools that is still seen quite often in the development community.
MANUAL (draft): Continuous Integration Setup with GitLab, Jenkins and SonarQube
Getting help
- For more details we recommend to visit the user documentation provided by SonarQube
- WP9 T2 provides the dedicated Slack channel #sonarqube-code-review to help users with any issues they may face