List of SonarQube sonar.properties options with explanation

Here is a list of some commonly used SonarQube sonar.properties options along with their explanations:

  1. sonar.jdbc.username – Specifies the username to use when connecting to the database.
  2. sonar.jdbc.password – Specifies the password to use when connecting to the database.
  3. sonar.jdbc.url – Specifies the URL of the database that SonarQube should use.
  4. sonar.host.url – Specifies the URL of the SonarQube server.
  5. sonar.login – Specifies the authentication token or username and password to use when connecting to the SonarQube server.
  6. sonar.projectKey – Specifies the unique identifier for the project being analyzed. This key is used to differentiate between projects in SonarQube.
  7. sonar.projectName – Specifies the name of the project being analyzed.
  8. sonar.projectVersion – Specifies the version of the project being analyzed.
  9. sonar.sources – Specifies the location of the source code that should be analyzed.
  10. sonar.exclusions – Specifies a list of files or directories that should be excluded from the analysis.
  11. sonar.language – Specifies the primary language of the project being analyzed.
  12. sonar.sourceEncoding – Specifies the character encoding used by the source code files.
  13. sonar.java.binaries – Specifies the location of the compiled Java bytecode files.
  14. sonar.java.libraries – Specifies the location of the external libraries used by the project.
  15. sonar.java.source – Specifies the version of the Java source code used by the project.
  16. sonar.php.tests.reportPath – Specifies the location of the PHPUnit test report.
  17. sonar.php.coverage.reportPath – Specifies the location of the code coverage report.
  18. sonar.php.pdepend.reportPath – Specifies the location of the PHP Depend report.
  19. sonar.php.codesniffer.reportPath – Specifies the location of the PHP CodeSniffer report.
  20. sonar.scm.enabled – Specifies whether or not SonarQube should use source control management information to enrich analysis data.
Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x