Bitbucket Server Pull Request Decorators

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

Hi,

Welcome to the community!

Can you check your ce.log server log to see if there’s anything relevant-seeming there?

Does this behavior happen across all projects? Some? Only one?

Could you double-check this? The current version is 7.1 :sweat_smile:
(Scanner version shouldn’t have an impact since PR decoration happens from the server, but it would still be nice to clear this up.)

 
Ann