In GitHub, we can see the pull request checks pending indefinitely. In SonarQube cloud, when I open the pull request scan, I get an empty screen with the message in the corner “The latest analysis has failed”. This happens on every pull request. Here are three latest Analysis IDs:
AZdZ285I1mFrTloPPSI2
AZdfN2MgCuQ046y3SPKL
AZdZ1pc4cdM-EzdBl_-m
Are you using automatic analysis, a CI, perhaps GitHub Actions?
If you are using a CI, can you provide the analysis log?
The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.
Thanks for the link to the guide. I’m afraid however that the guide does not seem to cover my case. SonarCloud is installed as an application in our GitHub organization, into all repositories. This adds a check “SonarCloud Code Analysis” on pull requests. I don’t know why it shows up on some repositories but not others. The check is always marked as pending, no GitHub workflow gets run. As there are no details in GitHub, I tried looking in SonarCloud but could only find the Analysis ID I posted in the original message.