Here are some common SonarQube sonar-scanner.properties
options and their explanations:
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.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.coverageReportPaths
: The comma-separated list of paths to the code coverage report(s).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.projectBaseDir
: The base directory for the project being analyzed. This is the directory that contains thesonar-scanner.properties
file.sonar.log.level
: The level of logging for the SonarQube scanner.sonar.verbose
: Whether or not to output verbose logging information.
Latest posts by Rajesh Kumar (see all)
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024
- Introduction to System Operations (SymOps) - October 30, 2024