1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 08:42:07 +02:00
tldr/pages/common/sonar-scanner.md
2020-10-05 12:17:34 +01:00

20 lines
595 B
Markdown

# sonar-scanner
> SonarScanner is a generic scanner for SonarQube for projects do not use any specific build tool like maven, gradle , etc.
> More information: <https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/>.
- Scan a project with configuration file in your project's root directory named `sonar-project.properties`:
`sonar-scanner`
- Scan a project using configuration file other than `sonar-project.properties`:
`sonar-scanner -D{{project.settings=myproject.properties}}`
- Print help information:
`sonar-scanner -h`
- Print debudgging information:
`sonar-scanner -X`