Hello,
I’m running the following
SonarQube Entreprise 8.3.1.34397
SonarScanner 4.3.0.2102-linux
Bitbucket Server v6.10.0
I try to get the pull request decoration on Bitbucket Server.
I configure the ALM Integration on my Sonarqube Server. Then I set “Project Key” and “Repository SLUG” on a project.
I run a pull request analysis successfully (i can see the Pull request analysis and the link “See the PR” at the top right of the page), but i cant see pull request decoration in Bibucket.
I see in Sonarqube compute engine logs:
2020.06.01 09:06:35 INFO ce[xxxxxx][o.s.c.t.p.a.p.PostProjectAnalysisTasksExecutor] Pull Request decoration | status=SUCCESS | time=511ms
The only related access logs i can see in Bitbucket is a WARN:
2020-06-01 09:06:35,787 WARN "DELETE /rest/insights/1.0/projects/xxxx/repos/xxxx/commits/xxxx/reports/com.sonarsource.sonarqube/annotations HTTP/1.0" c.a.p.r.c.s.j.XsrfResourceFilter XSRF failure not being enforced for request: https://xxx.xxx.xxx/rest/insights/1.0/projects/xxx/repos/xxx/commits/xxxx/reports/com.sonarsource.sonarqube/annotations , origin: null , referrer: null, method: DELETE
Is this WARN in bitbucket the root cause of the missing decoration ?
I can’t find any other message in Sonarqube logs, How can i get the PR Decoration ?
Thanks for you help
François