Hi everyone,
I cannot get the PR decorations from Sonarqube Enterprise (versions 8.9.0 - 8.9.3) to work in Bitbucket Server (I tested with a vanilla docker image 6.10.14 and 7.17.1).
Sonarqube actually manages to deliver the decorations to the Bitbucket instance, but they do not show up. I realize that this could be a Bitbucket problem, or it could also be that Sonarqube delivers the report to the wrong place or something similar?
The decoration report from Sonarqube lands here, the commit ID is where the branch split off, so before the actual commit in the branch. And not in the Pull Request itself. I have no idea if this is even remotely correct:
{“data”:[{“title”:“Bugs”,“value”:“0”,“type”:“TEXT”},{“title”:“Vulnerabilities”,“value”:“0”,“type”:“TEXT”},{“title”:“Code Smells”,“value”:“0”,“type”:“TEXT”},{“title”:“Security Hotspots”,“value”:“0”,“type”:“TEXT”},{“title”:“Code Coverage”,“value”:“n/a”,“type”:“TEXT”},{“title”:“Duplication”,“value”:“n/a”,“type”:“TEXT”}],“createdDate”:1636540499206,“details”:“Quality Gate passed”,“key”:“com.sonarsource.sonarqube”,“link”:“https://my-sonar/dashboard?id=TA&pullRequest=1",“logoUrl”:“https://my-sonar/images/embed-doc/sq-icon.svg”,“result”:“PASS”,“title”:“SonarQube”,“reporter”:"SonarQube”}
What do I miss? Is this feature maybe not working on newer version of either sonarqube or bitbucket? I think I only ever saw screenshots of this with bitbucket 5.x.
Thanks & BR,
Johannes