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!