Package org.sonarsource.scanner.lib
Class ScannerProperties
java.lang.Object
org.sonarsource.scanner.lib.ScannerProperties
Properties used by the scanner bootstrapper.
See documentation
for more details.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringBase URL for all REST-compliant API calls.static final StringURL of the Sonar server, default to SonarCloudstatic final StringPath of the java executable to be used by the scanner-engine.static final StringName of the architecture to be used for JRE provisioning.static final StringJava options to be used by the scanner-engine.static final StringName of the operating system to be used for JRE provisioning.static final StringSkip analysis.static final StringFlag to skip the JRE provisioning.static final StringAuthentication username for connecting to the Sonar server.static final StringAuthentication password for connecting to the Sonar server.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringHTTP client propertiesstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringAuthentication token for connecting to the Sonar server.static final StringBase dir for various locations (cache, SSL, …).static final StringURL of the SonarCloud server, default to https://sonarcloud.io.static final StringWorking directory containing generated reports and temporary data. -
Method Summary
-
Field Details
-
HOST_URL
URL of the Sonar server, default to SonarCloud- See Also:
-
API_BASE_URL
Base URL for all REST-compliant API calls.- See Also:
-
SONARCLOUD_URL
URL of the SonarCloud server, default to https://sonarcloud.io. Useful for testing purposes.- See Also:
-
WORK_DIR
Working directory containing generated reports and temporary data.- See Also:
-
SONAR_USER_HOME
Base dir for various locations (cache, SSL, …). Default to ~/.sonar- See Also:
-
SONAR_TOKEN
Authentication token for connecting to the Sonar server.- See Also:
-
SONAR_LOGIN
Authentication username for connecting to the Sonar server.- See Also:
-
SONAR_PASSWORD
Authentication password for connecting to the Sonar server.- See Also:
-
SONAR_SCANNER_PROXY_PORT
HTTP client properties- See Also:
-
SONAR_SCANNER_CONNECT_TIMEOUT
- See Also:
-
SONAR_SCANNER_SOCKET_TIMEOUT
- See Also:
-
SONAR_SCANNER_RESPONSE_TIMEOUT
- See Also:
-
SONAR_SCANNER_PROXY_HOST
- See Also:
-
SONAR_SCANNER_PROXY_USER
- See Also:
-
SONAR_SCANNER_PROXY_PASSWORD
- See Also:
-
SONAR_SCANNER_KEYSTORE_PATH
- See Also:
-
SONAR_SCANNER_KEYSTORE_PASSWORD
- See Also:
-
SONAR_SCANNER_TRUSTSTORE_PATH
- See Also:
-
SONAR_SCANNER_TRUSTSTORE_PASSWORD
- See Also:
-
SKIP
Skip analysis.- See Also:
-
JAVA_EXECUTABLE_PATH
Path of the java executable to be used by the scanner-engine.- See Also:
-
SKIP_JRE_PROVISIONING
Flag to skip the JRE provisioning.- See Also:
-
SCANNER_OS
Name of the operating system to be used for JRE provisioning. SeeOsResolver.OperatingSystemfor possible values.- See Also:
-
SCANNER_ARCH
Name of the architecture to be used for JRE provisioning.- See Also:
-
SCANNER_JAVA_OPTS
Java options to be used by the scanner-engine.- See Also:
-