Code Quality widget in bitbucket pull request doesn't have coverage info

Hi Team,
I m using jacoco plugin to analyze my maven project and push the report to the sonar cloud. After completing analyze I m able to see the coverage info in sonar cloud UI

But the same is not getting reflected in bitbucket pull request code quality widget

maven cmd used to analyze
mvn clean verify sonar:sonar -Dsonar.login=XXXX -Dsonar.branch.name=XXXX -Dsonar.coverage.jacoco.xmlReportPaths=XXXX -o

jacoco-maven-plugin version : 0.8.4

Hi,

Are you running the analysis as part of your Pull Request CI? Because the dashboard you are showing on screenshot one, is a branch dashboard, not a PR dashboard.
To analyze a PR you have to remove the parameter sonar.branch.name and add the parameter sonar.pullrequest.key.
If you’re running on BBC Pipelines, you don’t need to provide this parameter, they are automatically detected. Which CI are you using?

Once you correctly analyse PR, you should see the coverage result in the BBC widget.

HTH,
Benoit