Here are some common SonarQube sonar-project.properties
options and their explanations:
sonar.projectKey
: A unique identifier for the project being analyzed. This is used to differentiate between different projects in SonarQube.sonar.projectName
: The display name for the project being analyzed. This is what will be displayed in SonarQube.sonar.projectVersion
: The version number for the project being analyzed.sonar.sources
: The comma-separated list of directories containing the source code. SonarQube will analyze the code in these directories.sonar.tests
: The comma-separated list of directories containing the test code. SonarQube will analyze the test code in these directories.sonar.language
: The programming language used in the source code.sonar.sourceEncoding
: The character encoding used in the source code.sonar.host.url
: The URL of the SonarQube server being used.sonar.login
: The login token or username to authenticate with the SonarQube server.sonar.password
: The password to authenticate with the SonarQube server.sonar.coverageReportPaths
: The comma-separated list of paths to the code coverage report(s).sonar.java.binaries
: The comma-separated list of directories containing the compiled Java classes.sonar.java.libraries
: The comma-separated list of paths to the Java libraries used by the project.sonar.exclusions
: The comma-separated list of files or directories to exclude from analysis.sonar.inclusions
: The comma-separated list of files or directories to include in analysis.sonar.tests
: The comma-separated list of directories containing the test code.
Latest posts by Rajesh Kumar (see all)
- What is ZooKeeper? - April 29, 2024
- What is Mobile Virtual Network Operator? - April 18, 2024
- What is Solr? - April 17, 2024