Configuring pull request decoration for SonarQube Server with Bitbucket Cloud Pipelines

Time to complete icon30 minutes to complete

Overview

This course demonstrates how to integrate SonarQube Server's pull request (PR) decoration and blocking features into your Bitbucket Cloud Pipelines PRs. This integration enables you to automate code quality and security checks directly within your development workflow.

Learning objectives

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

  • Configure the Bitbucket PR decoration feature with SonarQube Server to show scan results in your pull requests.
  • Configure PR decoration to prevent a merge when a quality gate fails.

Key topics

  • Enhancing code reviews with PR decoration
  • Configuring Bitbucket Cloud for PR decoration and merge prevention
  • Configuring SonarQube for PR decoration
  • Testing PR decoration
  • Preventing a merge when a quality gate fails
  • Additional resources

Target audience

  • DevOps engineer
  • Developer
  • Engineering leader
  • Analyst

Prerequisites

  • Configuring code analysis for SonarQube Server with Bitbucket Cloud Pipelines