

This Get Started guide provides instructions on installing, configuring and using the SonarQube extension for Azure DevOps.Continuous Code Quality Inspection with SonarQube - Simple Talk Skip to content This tasks is optional, as it may increase the overall build time.


Important note: to activate Pull Request decoration, you must specify a user token in the "General Settings > Pull Requests" administration page of your project in SonarQube. When a build is run on a PR, the extension automatically publishes the QG status and configures the analysis to be pushed to the relevant project branch on SonarQube. SonarQube analyzes the code changes and decorates Pull Requests with comments and overall status -> merge with confidence! Simply add SonarQube to your build pipeline definition and you're on your way to only promoting quality code. It's easy to add non-disruptive code quality checks right into your Azure DevOps workflow. Branches and PRs get their own Quality Gate status and analysis results are pushed to the relevant project branch in SonarQube. When partnered with a SonarQube Commercial Edition, this extension allows automatic analysis of all branches and pull-requests which enables early discovery of bugs and security vulnerabilities prior to a merge. In other words, it tells you with every analysis whether your application is ready for production "quality-wise".Īutomatically Analyze Branches and Decorate Pull Requests (SonarQube Commercial Editions) When you see a 'Green' Quality Gate, you know that your application is releasable and your team is hitting the mark! The Quality Gate provides the ability to know at each analysis whether an application passes or fails the release criteria. SonarQube comes with a default Quality Gate called Sonar Way™ that's built-in and ready to use. Analysis results are published right in your Pull Requests! Benefits of the SonarQube Azure DevOps Marketplace Extension Quality Gate™ Status PublishingĪ Quality Gate is a Pass/Fail status indicator that clearly lets you know if your code is clean and safe. SonarQube Commercial Editions offer additional functionality with Branch and Pull Request analysis so your team spots and resolves code issues before merging to master. When paired with SonarQube Community Edition, you can analyze and see the results for scanning your master codebase. This extension provides tasks that you incorporate into your build definition(s) to enable additional SonarQube functionality in Azure DevOps environments. With over 170,000 deployments helping small development teams as well as global organizations, SonarQube provides the means for all teams and companies around the world to own and impact their Code Quality and Security. SonarQube easily pairs up with your Azure DevOps environment and tracks down bugs, security vulnerabilities and code smells. Analyze over 25 popular programming languages including C#, VB.Net, JavaScript, TypeScript and C++. SonarQube™ is the leading tool for continuously inspecting the Code Quality and Security™ of your codebases, all while empowering development teams.
