Configuring pull request decoration for SonarQube Cloud using Azure Pipelines and GitHub repositories

Time to complete icon30 minutes to complete

Overview

This course teaches you how to integrate SonarQube Cloud pull request decoration and merge blocking in your GitHub PRs using Azure Pipelines. Configuring PR decoration enables you to improve the efficiency, security, and quality of your code.

Learning objectives

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

  • Configure a GitHub pull request decoration feature with SonarQube Cloud to display results directly in your pull requests.
  • Configure a branch protection rule to prevent a merge when a quality gate fails.

Key topics

  • Prerequisites for PR decoration
  • Enhancing your code review with PR decoration
  • Configuring SonarQube Cloud
  • Configuring Azure DevOps
  • Configuring GitHub PR decoration
  • Testing PR decoration
  • Preventing a PR merge when a quality gate fails
  • Additional resources and troubleshooting tips

Target audience

  • DevOps engineer
  • Developer
  • Engineering leader
  • Analyst

Prerequisites

  • Complete the course: Configuring code analysis for SonarQube Cloud with Azure Pipelines and GitHub repositories