Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pull JaCoCo Code Coverage Report from the SonarQube to Be Able to See Code Coverage During PR Review

alexander911
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 24, 2025

Environment

Bitbucket Data Center

Bamboo

SonarQube

Current Setup

Hi Atlassian Community!

I currently have the following workflow implemented:

1. Create Pull Requests in Bitbucket

2. Bamboo pipeline gets triggered

3. Pipeline runs SonarQube scan for the PR branch

4. Coverage results are available in SonarQube
5. Code Coverage is available on SonarQube, I can see it

What I Want to Achieve

I'd like to integrate the JaCoCo code coverage results that are already available in SonarQube with Bitbucket's Code Insights feature. This would allow developers to see coverage information directly during PR review without switching to SonarQube.

https://confluence.atlassian.com/bitbucketserver/code-insights-966660485.html

Question

Could you please help me understand:

1. What's the best approach to integrate SonarQube's code coverage data with Bitbucket Code Insights? (I like these Code Coverage Bars in the article above)

2. Are there any existing plugins or solutions that could help achieve this?

3. What configuration changes would be needed in Bamboo and Bitbucket?

Any guidance or examples would be greatly appreciated!

Maybe I just do something wrong and Bitbucket code coverage have to be configured separately from the SonarQube.

Thanks in advance!

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events