List of SonarQube sonar-project.properties options with explaination

Here are some common SonarQube sonar-project.properties options and their explanations:

  1. sonar.projectKey: A unique identifier for the project being analyzed. This is used to differentiate between different projects in SonarQube.
  2. sonar.projectName: The display name for the project being analyzed. This is what will be displayed in SonarQube.
  3. sonar.projectVersion: The version number for the project being analyzed.
  4. sonar.sources: The comma-separated list of directories containing the source code. SonarQube will analyze the code in these directories.
  5. sonar.tests: The comma-separated list of directories containing the test code. SonarQube will analyze the test code in these directories.
  6. sonar.language: The programming language used in the source code.
  7. sonar.sourceEncoding: The character encoding used in the source code.
  8. sonar.host.url: The URL of the SonarQube server being used.
  9. sonar.login: The login token or username to authenticate with the SonarQube server.
  10. sonar.password: The password to authenticate with the SonarQube server.
  11. sonar.coverageReportPaths: The comma-separated list of paths to the code coverage report(s).
  12. sonar.java.binaries: The comma-separated list of directories containing the compiled Java classes.
  13. sonar.java.libraries: The comma-separated list of paths to the Java libraries used by the project.
  14. sonar.exclusions: The comma-separated list of files or directories to exclude from analysis.
  15. sonar.inclusions: The comma-separated list of files or directories to include in analysis.
  16. sonar.tests: The comma-separated list of directories containing the test code.
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