SonarQubePublish@6 - Publish Quality Gate Result v6 task
Publish SonarQube's Quality Gate result on the Azure DevOps build result, to be used after the actual analysis.
Syntax
# Publish Quality Gate Result v6
# Publish SonarQube's Quality Gate result on the Azure DevOps build result, to be used after the actual analysis.
- task: SonarQubePublish@6
inputs:
pollingTimeoutSec: '300' # string. Required. Timeout (s). Default: 300.
Inputs
pollingTimeoutSec
- Timeout (s)
string
. Required. Default value: 300
.
This task will poll SonarQube until the analysis is completed, or until the timeout is reached. It also add a build property with the quality gate status of the current build(s) analyses.
Task control options
All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.
Output variables
None.
Requirements
Requirement | Description |
---|---|
Pipeline types | YAML, Classic build |
Runs on | Agent, DeploymentGroup |
Demands | None |
Capabilities | This task does not satisfy any demands for subsequent tasks in the job. |
Command restrictions | Any |
Settable variables | Any |
Agent version | 3.218.0 or greater |
Task category | Build |