Hi,
we are trying to setup the PR Decoration.
SonarQube Develop 8.0
Bitbucket v5.16.11
I managed to simulate the PR Analysis and I’m able to see the report in SonarQube.
However the findings are not decorated in Bitbucket.
I followed the setup documented here: https://docs.sonarqube.org/8.0/analysis/pull-request/
Following Questions:
Why is my PR not annotated with the findings I see in SonarQube?
How can I automate the PR analysis? As of now I did configure the analysis parameter manually.
My expectation would have been that SonarQube can match the branch analysis automatically to an PR?
If thats not the case we alyways have to configure this manually in our pom and remove it before the merge.
In the logs I see some connection problems with Bitbucket!
Would have somehow expected a error in the UI in that case - therefore I didn’t check them.
Thanks for the advice!
Since we are anyhow running a branch analysis for all our branches, I hoped SQ can identify if there is an open PR or not - by using the Bitbucket API - and automatically annotate that PR with the findings.
Our CI is based on Jenkins.
If you upgrade to SQ 8.3, the parameters will be automatically detected for you in Jenkins, you can see more information here and maybe this thread can help you as well.
Also note that we should release SQ 8.4 around end of June and we will release a tutorial inside SQ to guide you to set up your analyses (with PR) with Jenkins.
If you are talking about issues in PR in BitBucket Server, normally they should appear in the code diff of your PR like this: