sonar-scanner

CLI launcher for analyzing projects with SonarQube

brewmacoslinux
Try with needOr install directly
Source

About

Launcher to analyze a project with SonarQube

Commands

sonar-scanner

Examples

Analyze a project with SonarQube using configuration file$ sonar-scanner
Analyze a project by specifying host URL and login token$ sonar-scanner -Dsonar.host.url=https://sonarqube.example.com -Dsonar.login=mytoken
Analyze a specific project with custom project key and source directory$ sonar-scanner -Dsonar.projectKey=my-project -Dsonar.sources=src -Dsonar.host.url=http://localhost:9000