mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:46:00 +02:00
sonar-scanner: add page (#4466)
This commit is contained in:
parent
73c6a856e2
commit
77de61bb06
1 changed files with 20 additions and 0 deletions
20
pages/common/sonar-scanner.md
Normal file
20
pages/common/sonar-scanner.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue