Hello,
Recently I tried to configure the integration between SonarQube and bitbucket and notice that decorator does not appear in all the Pull Request, I only appears in the Pull Request that comes from a branch with the prefix “hotfix/”.
The way that I use to perform the scanner is by using Jenkins via a container with the Sonar-scanner-cli to perform the analysis and then send it to Sonar Server.
I got no errors while the other pull request run, but neither got a clue about why the decorator only appears in this specific branches.
I also tried adding the properties like sonar.pullreques.provider, sonar.pullrequest.key, etc. but got the same results or any results in the PR.
Please help with some clues
Tools:
- Bitbucket Server
- Jenkins server
- Sonar Scanner CLI 11.1
- Sonar Server v2025.1