Uredi

Deli z drugimi prek


SonarQubePublish@4 - Publish Quality Gate Result v4 task

Use this task to publish SonarQube's Quality Gate result on the Azure DevOps build result. Use this after the analysis.

Note

This task is deprecated; use SonarQubePublish@6.

Syntax

# Publish Quality Gate Result v4
# Publish SonarQube's Quality Gate result on the Azure DevOps build result, to be used after the actual analysis.
- task: SonarQubePublish@4
  inputs:
    pollingTimeoutSec: '300' # string. Required. Timeout (s). Default: 300.

Inputs

pollingTimeoutSec - Timeout (s)
string. Required. Default value: 300.

This task polls SonarQube until the analysis is completed or until the timeout is reached. This task also adds 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.

Remarks

Note

This task is deprecated; use SonarQubePublish@6.

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 2.144.0 or greater
Task category Build

See also