This version of the SonarQube documentation is no longer maintained. It relates to a version of SonarQube that is not active.

SonarQube extension for Azure DevOps

The SonarQube extension for Azure DevOps makes it easy to integrate analysis into your build pipeline, allowing the analysis of all supported languages.

SonarScanner for Azure DevOps — 7.4.1 | Issue Tracker

7.4.1 2025-08-07 Update tasks to Node 20+ Download Release notes

7.3 2025-04-23 Bump Scanner for .NET to 10.1.2.114627 Download Release notes

7.2 2025-04-09 Bump Scanner for .NET to 10.1.0.110937 Download Release notes

7.1.1 2024-11-26 Bump Scanner for .NET to 9.0.2.104486 Download Release notes

7.1.0 2024-11-19 Align with SonarQube rebranding Download Release notes

7.0.4 2024-11-12 Fix PR decorations for dark mode Download Release notes

7.0.3 2024-10-29 Bump Scanner for .NET 9.0.1 & Fix missing translation messages Download Release notes

7.0.2 2024-10-22 Fix windows path parsing coming from predefined variables correctly in extraProperties Download Release notes

7.0.1 2024-10-21 Fix .NET Framework scanner embedding logic. Download Release notes

7.0.0 2024-10-21 .NET analysis defaults to Scanner for .NET v9 with multi-language analysis. Embeds scanner-CLI v6.2.1 with JRE auto-provisioning. Download Release notes

6.2.0 2024-07-01 Default scanners are embedded for offline use Download Release notes

6.1.0 2024-06-18 Scanner CLI now defaults to v6 Download Release notes

6.0.1 2024-06-10 Deprecate the old SonarQube v5 tasks with proper warnings Download Release notes

6.0.0 2024-05-31 New V6 task with configurable scanner version, Drop of V3 tasks, bump of agent requirements for V4 tasks Download Release notes

5.20.0 2024-04-15 Support for JDK 21 and Bump to Scanner for .NET 5.15.1 (fix for .NET 8 on MacOS) Download Release notes

5.19.2 2024-03-11 Ignore specified JDK 11 if SonarQube does not support it Download Release notes

5.19.1 2024-03-04 Reintroduce compatibility for v4 tasks with node6 Download Release notes

5.19.0 2024-01-24 PRs show issues that will be fixed by the merge & Accepted, Retry mechanism during publish polling to tolerate unstable network conditions. Download Release notes

5.18.4 2023-11-28 Bump MSBuild Scanner to 5.15 Download Release notes

5.18.3 2023-11-20 Maximize proxy compatibility with tasks <5.18.0 Download Release notes

5.18.2 2023-11-17 Adjust PR decorations to Clean Code Taxonomy, Migrate from request to node-fetch, Support Azure proxy, Fix vulnerabilities Download Release notes

5.17.2 2023-10-18 Revert request library Download Release notes

5.16.0 2023-10-17 Fix Mend vulnerabilities & Dependencies bump Download Release notes

5.15.0 2023-06-14 Fix computation and retrieval of report-task.txt + Let user choose which java version to use for analysis Download Release notes

5.14.0 2023-06-13 Improved support for SQ >= 10.0, Change computation of metadata file path, added detection of JAVA_17 environment variable Download Release notes

5.13.0 2023-04-27 Support for sonar.token, incremental analysis outside Azure, better error message Download Release notes

5.12.0 2023-03-17 Supports for SonarCloud incremental analysis cache Download Release notes

5.11.1 2023-02-02 Azure DevOps extension is compatible with SonarQube 10.0 Download Release notes

5.11.0 2023-02-02 Update scanner for .NET to 5.11.0 Download Release notes

5.10.0 2023-01-23 Bump Scanner for .NET to 5.10.0 and ScannerCLI to 4.8.0 Download Release notes

5.9.0 2023-01-03 Bump Scanner for .NET to 5.9.2 Download Release notes

5.8.1 2022-10-11 Fix task status spelling (CANCEL -> CANCELED) Download Release notes

5.8.0 2022-09-05 Bump Scanner for .NET to 5.8.0 Download Release notes

5.7.0 2022-08-09 Bump Scanner for .NET to 5.7.2 and ScannerCLI to 4.7.0 Download Release notes

5.6.1 2022-07-06 Revert Scanner for .NET to 5.6.0 and ScannerCLi to 4.6.2 Download Release notes

5.6.0 2022-07-05 Bumped Scanner for .NET to 5.7.1 and Scanner CLI to 4.7.0 Download Release notes

5.5.0 2022-06-15 Bumped Scanner for .NET to 5.6.0 Download Release notes

5.4.0 2022-02-16 Bumped Scanner for .NET to 5.5.3 Download Release notes

5.3.0 2022-02-07 Bumped Scanner for .NET 5.5.0 Download Release notes

5.2.0 2022-02-07 Bump Scanner for .NET 5.4.1 Download Release notes

5.1.1 2021-11-30 Revert part of the change for SONARAZDO-264 Download Release notes

5.1.0 2021-11-30 Fix SSF-194, Bump Scanner for .NET 5.4.0 Download Release notes

5.0.0 2021-09-28 New Major Version for Azure Devops 2019 only, that resolves issues with LetsEncrypt Certs. For TFS2017/2018 use version 4.23.1 Download Release notes

4.23.1 2021-10-08 Rollback changes to Node handler and az pipeline task due to incompabilities with TFS 2017/2018 Download Release notes

4.23 2021-10-01 Change to Node10 execution handler to fix issues with LetEncrypt Certs Download Release notes

4.22 2021-09-20 Updated plugin SDK from .NET Core 2 to .NET Core 3 + Bump SonarScanner for .NET v.5.3.1 Download Release notes

4.21 2021-06-24 Bump SonarScanner for .NET v.5.2.2 Download Release notes

4.20 2021-04-30 Bug fix + Bump SonarScanner for .NET and ScannerCLi versions Download Release notes

4.19 2021-04-09 Support for Scanner for .NET 5.2 (Analyze test code) Download Release notes

4.18 2021-03-09 Support for .NET 5, support for solo .NET Core project (without .sln) Download Release notes

4.17 2020-11-11 Support for .NET 5, support for solo .NET Core project (without .sln) Download Release notes

4.16 2020-11-10 Support for .NET 5, support for solo .NET Core project (without .sln) Download Release notes

4.12 2020-11-05 Support for .NET 5, support for solo .NET Core project (without .sln) Download Release notes

4.11 2020-06-29 Support FIPS compliant cryptographic algorithm, update to SonarScanner 4.4 and SonarScanner for MSBuild 4.10 Download Release notes

4.10 2020-05-05 Improve detection of duplicated coverage reports, update to SonarScanner 4.3 and SonarScanner for MSBuild 4.9 Download Release notes

4.9 2020-01-29 Enable scanner execution when only .NET Core 3 is installed, update to SonarScanner 4.2 and SonarScanner for MSBuild 4.8 Download Release notes

4.8.1 2019-10-15 Bug fix Download Release notes

4.8 2019-09-16 Several bug fixes, update to SonarScanner 4.1 and SonarScanner for MSBuild 4.7.1 Download Release notes

4.7.2 2019-08-14 Bug fix Download Release notes

4.7.1 2019-08-14 Bug fix Download Release notes

4.7 2019-08-13 Fix a bug on the Publish Quality Gate Result task Download Release notes

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 v7.x.x

Because the current versions of the SonarScanner for .NET and SonarScanner CLI scanners are embedded and depending on your configuration, some additional setup may be required.

The SonarScanner for .NET has a new parameter to scan multiple languages. Check the Multi-language analysis article for full details. If you want to specify the exact .NET or CLI scanner version, use the msBuildVersion and cliVersion properties. Please check the Using the Prepare Analysis Configuration task article 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:

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 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 v6.2.x

The current versions of the SonarScanner for .NET and 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.

in v6.0.1

Version @5 tasks were deprecated in v6.0.1 and will be dropped in a subsequent release.

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.

Last updated

Was this helpful?