SonarQube
SonarQube
How to run SonarQube in local slice or developer machine ?
Get Started in Two Minutes Guide Download the SonarQube Community Edition
Unzip it, let’s say in C:\sonarqube or /etc/sonarqube
Start the SonarQube Server:
C:\sonarqube\bin\windows-x86-xx\StartSonar.bat
/etc/sonarqube/bin/[OS]/sonar.sh console
Log in to http://localhost:9000 with System Administrator credentials (admin/admin)
For multi-language projects, remove the property “sonar.language=java” from “sonar-project.properties”
Question about customization
There are a lot of generated or configuration packages/classes that can be excluded from “test coverage” report that Sonarqube shows. How can we customize the coverage percentage that Sonarqube shows in its dashboard?
The pipeline exports jacoco.xml to Sonarqube and that is what Sonarqube uses for display on the dashboard. Please look for options to customie while generating jacoco.xml