PR Decoration is not happening

  • ALM used: BitbucketCloud
  • CI system used Jfrog (maven)
  • Languages of the repository Java
  • Error observed No Error ( finally got to this point )

I finally got to a point of not having a warning ( of something missing ), but the PR decoration is still not happening.

I sending the following to maven command:

        -Dsonar.projectKey=projectKey 
        -Dsonar.organization=Organization
        -Dsonar.host.url=https://sonarcloud.io 
        -Dsonar.login=${int_sonarlogin_token}
        -Dsonar.pullrequest.branch=${res_features_pr_sonarqube_headCommitRef}
        -Dsonar.pullrequest.base=${res_features_pr_sonarqube_baseCommitRef}
        -Dsonar.pullrequest.key=${res_features_pr_sonarqube_pullRequestNumber}
        -Dsonar.pullrequest.provider=bitbucketcloud
        -Dsonar.pullrequest.bitbucketcloud.owner={yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy}
        -Dsonar.pullrequest.bitbucketcloud.repository={xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxdx}            clean verify sonar:sonar

In Bitbucket for the PR, I get

Selecting “view more details…”, I see the following with no warning. And the link to PR takes me back to the PR in bitbucket.

Not sure what I’m missing.

Hello and welcome to the community!

I’m not sure what you are missing and what you expect here ?

This:

is the PR decoration on Bitbucket, so to me it seems like you have configured everything correctly…

1 Like