SonarCloud isn't reporting any bugs after scan

Template for a good new topic, formatted with Markdown:

  • ALM used : Bitbucket Cloud
  • CI system used : Buildkite
  • Scanner command used when applicable
  1. Previous command : Used with Jenkins
(./gradlew -g /home/jenkins/.gradle/${pipelineParams.projectName} :${pipelineParams.projectName}:sonar -Dsonar.branch.name=${BRANCH_NAME}")
  1. New command : Used in Buildkite
(    /opt/sonar-scanner/bin/sonar-scanner -X \
    -Dsonar.login=$SONAR_TOKEN \
    -Dsonar.branch.name=$BUILDKITE_BRANCH \
    -Dsonar.qualitygate.wait=true \
    -Dsonar.sources=$MICROSERVICE/src/main \
    -Dsonar.tests=$MICROSERVICE/src/test \
    -Dsonar.java.binaries=$MICROSERVICE/src/main/java \
    -Dsonar.projectKey=$ORGNAME_$MONOREPONAME_$MICROSERVICE)
  • Languages of the repository : Java
  • Only if the SonarCloud project is public, the URL (Private Project and hence cant share the peroject repo)
  • Error observed : The scan completes successfully. But no bug reports are uploaded to SonarCloud. (Can share the logs privately)

Hey there.

What do you see in SonarCloud, compared to what you expect to see? A screenshot might be helpful.