No annotations in Bitbucket Cloud PR

Hello, I am currently trying SonarQube 9.2 with Bitbucket Cloud and I can’t get the PR annotations to work.

I have the following pipeline step:

- step:
            name: SonarQube analysis
            image: maven:3.3.9
            clone:
              depth: full
            script:
              - pipe: sonarsource/sonarqube-scan:1.0.0
                variables:
                  SONAR_HOST_URL: ${SONAR_HOST_URL} # Get the value from the repository/workspace variable.
                  SONAR_TOKEN: ${SONAR_TOKEN} # Get the value from the repository/workspace variable. You shouldn't set secret in clear text here.

The Gateway Report is generated but there are no annotations in the report:

What am I missing?

Thanks in advance!

Nevermind! it works, the code quality rule I was looking for was not activated.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.