LinuxCommandLibrary

sonar-scanner

SonarScanner is a generic scanner for SonarQube for projects do not use any specific build tool like maven, gradle , etc.

TLDR

Scan a project with configuration file in your project's root directory named sonar-project.properties

$ sonar-scanner
copy


Scan a project using configuration file other than sonar-project.properties
$ sonar-scanner -D[project.settings=myproject.properties]
copy


Print help information
$ sonar-scanner -h
copy


Print debugging information
$ sonar-scanner -X
copy

Copied to clipboard