Configuring pull request decoration for SonarQube Server using Azure DevOps

Time to complete icon30 minutes to complete

Overview

This course teaches you how to integrate SonarQube Server's pull request (PR) decoration and PR blocking into Azure DevOps PRs. By configuring PR decoration, you'll enhance the efficiency, security, and quality of your software development.

Learning objectives

After completing this course, you’ll be able to:

  • Configure the Azure DevOps pull request decoration feature with SonarQube to display results directly in your pull requests.
  • Configure pull request blocking by using SonarQube quality gate enforcement.

Key topics

  • Enhancing your code review with PR decoration
  • Configuring SonarQube Server
  • Configuring Azure DevOps
  • Testing PR decoration
  • Preventing a PR merge when a quality gate fails
  • Additional resources

Target audience

  • DevOps engineer
  • Developer
  • Engineering leader
  • Analyst

Prerequisites

  • Configuring code analysis for SonarQube Server with Azure DevOps Pipelines
  • SonarQube Developer Edition or Data Center Edition