Automate Coverage Reports in Pull Requests with Bitbucket, Jenkins and SonarCloud
Jul 16, 2019Alwyn Davis

Summary
This post details the implementation of a CI/CD pipeline using Jenkins and SonarCloud to automate code quality reporting within Bitbucket pull requests. It outlines the Jenkinsfile configuration for running tests, generating Jacoco coverage reports, and uploading them to SonarCloud. It also explains how to enable the SonarCloud widget in Bitbucket to display these analysis results directly in the PR view, providing approvers with immediate insights into code coverage, bugs, and code smells.