longDescription:The step executes the [sonar-scanner](https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner) cli command to scan the defined sources and publish the results to a SonarQube instance.
description:"SonarCloud.io only: Organization that the project will be assigned to in SonarCloud.io."
scope:
- PARAMETERS
- STAGES
- STEPS
- name:customTlsCertificateLinks
type:string
description:List of comma-separated download links to custom TLS certificates. This is required to ensure trusted connections to instances with custom certificates.
scope:
- PARAMETERS
- STAGES
- STEPS
- name:sonarScannerDownloadUrl
type:string
description:"URL to the sonar-scanner-cli archive."
description:"Pull-Request only: Disables the pull-request decoration with inline comments. DEPRECATED: only supported in SonarQube < 7.2"
scope:
- PARAMETERS
- STAGES
- STEPS
- name:legacyPRHandling
type:bool
description:"Pull-Request only: Activates the pull-request handling using the [GitHub Plugin](https://docs.sonarqube.org/display/PLUG/GitHub+Plugin). DEPRECATED: only supported in SonarQube < 7.2"
scope:
- PARAMETERS
- STAGES
- STEPS
- name:githubApiUrl
type:string
description:"Pull-Request only: The URL to the Github API. see [GitHub plugin docs](https://docs.sonarqube.org/display/PLUG/GitHub+Plugin#GitHubPlugin-Usage) DEPRECATED: only supported in SonarQube < 7.2"
scope:
- GENERAL
- PARAMETERS
- STAGES
- STEPS
default:https://api.github.com
secrets:
- name:sonarTokenCredentialsId
type:jenkins
description:Jenkins 'Secret text' credentials ID containing the token used to authenticate with the Sonar Server.
- name:githubTokenCredentialsId
type:jenkins
description:Jenkins 'Secret text' credentials ID containing the token used to authenticate with the Github Server.