Checks on Github PR are missing

Template for a good new topic, formatted with Markdown:

  • ALM used GitHub
  • CI system used Google cloud build
  • Scanner command used when applicable (private details masked)
  • Languages of the repository
    Python, uses sonar scanner via a docker image provided from docker hub
    sonar-scanner -X -Dproject.settings=sonar.properties

Java, using maven plugin

  • Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
  • Steps to reproduce
    The build is done in a multi stage docker.
    No errors is shown during build. I get a link to sonarcloud when the build success.
    But nothing shows up in the PR checks.

What properties must be set to get it working so it’s decorating a PR?
And what should not be set?

The build does not get a git working tree, only a copy of the files on that commit.
Once in the java repo did the sonar show up in the checks, not possible to reproduce that.

Hello @detvetdu, welcome to our Community.

Could you please provide the analysis id from a scan that failed to be decorated? You can get it in the Background Tasks in the project view administration. Can you tell me how you created the project on SonarCloud? Have you used the Analyze New Project button or just triggered the CI script?