SonarQube extension for Azure DevOps
On this page
The SonarQube Extension for Azure DevOps makes it easy to integrate analysis into your build pipeline. The extension allows the analysis of all languages supported by SonarQube.
Requirements
SonarQube extension for Azure DevOps v6.2.x
The SonarScanner for .NET or SonarScanner CLI scanners are embedded and depending on your configuration, some additional setup may be required.
If you want to specify the exact .NET or CLI scanner version, use the the msBuildVersion
and cliVersion
properties. Please check the Using the Prepare Analysis Configuration task on the Azure DevOps integration page below for details.
When specifying a particular scanner version, internet access is required by the pipelines calling the .NET or CLI scanners:
- Access to github.com is required to download the SonarScanner for .NET. The GitHub URL and its HTTP redirect,
objects.githubusercontent.com
, should be whitelisted. - Access to binaries.sonarsource.com is required to download the SonarScanner CLI. The Sonar binaries should be whitelisted.
For users running on-premise or using self-hosted agents, the minimum agent version for SonarQube v6 tasks is 3.218.0.
in v6.0.1
- Version @5 tasks were deprecated in v6.0.1 and will be dropped in a subsequent release.
Compatibility
The SonarQube extension for Azure DevOps 6.x is compatible with:
- Azure DevOps Services
- Azure DevOps Server 2022 Update 2
- Azure DevOps Server 2022 Update 1
- Azure DevOps Server 2022 Update 0.1 Patch 4 and later
- Azure DevOps Server 2020 Update 1.2 Patch 9 and later
- Azure DevOps Server 2020 Update 0.2 Patch 4 and later
- Azure DevOps Server 2019 Update 1.2 Patch 5 and later
- Azure DevOps Server 2019 - patch 15 and later
The SonarQube extension for Azure DevOps 5.x is compatible with:
- Azure DevOps Server 2019 (including Express editions)
- Azure DevOps Server 2020 (including Express editions)
- Azure DevOps Server 2022
- Azure DevOps Services
The SonarQube extension for Azure DevOps 4.x is compatible with:
- TFS 2017 Update 2+ (including Express editions)
- TFS 2018 (including Express editions)
Analysis
For information on setting up analysis with the SonarQube Extension for Azure DevOps, see the Azure DevOps DevOps Platform integration page.
Previous versions
As new scanner versions are released, previous requirements and/or planned deprecations will be listed here.
SonarQube extension for Azure DevOps v5.x.x
- Version @5 tasks were deprecated in v6.0.1 and will be dropped in a subsequent release.
- For users running on-premise or using self-hosted agents, the minimum agent version for SonarQube version @5 tasks is 2.114.0.
Was this page helpful?