sonar-scanner-cli sonar-scanner-cli
Invokes scan using Sonarqube, step is not compatible with C/C++/Objective-C projects. Requires sonar-project.properties file with Project Name and Key defined. Documentation - https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/
arguments
SendEmail:
type: sonar-scanner-cli
arguments:
SONAR_HOST_URL: 'http://foo.acme:9000'
SONAR_LOGIN: username or key
SONAR_PASSWORD: password if username is used
SONAR_PROJECT_BASE_DIR: set working directory for analysis
SONAR_SCANNER_CLI_VERSION: latest