Here is a list of some commonly used SonarQube sonar.properties
options along with their explanations:
sonar.jdbc.username
– Specifies the username to use when connecting to the database.sonar.jdbc.password
– Specifies the password to use when connecting to the database.sonar.jdbc.url
– Specifies the URL of the database that SonarQube should use.sonar.host.url
– Specifies the URL of the SonarQube server.sonar.login
– Specifies the authentication token or username and password to use when connecting to the SonarQube server.sonar.projectKey
– Specifies the unique identifier for the project being analyzed. This key is used to differentiate between projects in SonarQube.sonar.projectName
– Specifies the name of the project being analyzed.sonar.projectVersion
– Specifies the version of the project being analyzed.sonar.sources
– Specifies the location of the source code that should be analyzed.sonar.exclusions
– Specifies a list of files or directories that should be excluded from the analysis.sonar.language
– Specifies the primary language of the project being analyzed.sonar.sourceEncoding
– Specifies the character encoding used by the source code files.sonar.java.binaries
– Specifies the location of the compiled Java bytecode files.sonar.java.libraries
– Specifies the location of the external libraries used by the project.sonar.java.source
– Specifies the version of the Java source code used by the project.sonar.php.tests.reportPath
– Specifies the location of the PHPUnit test report.sonar.php.coverage.reportPath
– Specifies the location of the code coverage report.sonar.php.pdepend.reportPath
– Specifies the location of the PHP Depend report.sonar.php.codesniffer.reportPath
– Specifies the location of the PHP CodeSniffer report.sonar.scm.enabled
– Specifies whether or not SonarQube should use source control management information to enrich analysis data.
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND