SonarQubeAnalyze@4 - Run Code Analysis v4 task

Use this task to run the scanner and upload the results to the SonarQube server.

Note

This task is deprecated; use SonarQubeAnalyze@7.

Syntax

# Run Code Analysis v4
# Run scanner and upload the results to the SonarQube server.
- task: SonarQubeAnalyze@4
  inputs: # none

Inputs

None.

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 SonarQubeAnalyze@7.

This task is to be used with the new version of the Prepare Analysis Configuration task.

Requirements

Requirement Description
Pipeline types YAML, Classic build
Runs on Agent, DeploymentGroup
Demands Self-hosted agents must have capabilities that match the following demands to run jobs that use this task: java
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