# SonarCloud + Github PR Checks

**URL:** <https://community.sonarsource.com/t/sonarcloud-github-pr-checks/183980>\
**Category:** SonarQube Cloud\
**Tags:** github-checks, coverage, sonarqube-cloud\
**Created:** [June 24, 2026, 8:34am UTC](https://community.sonarsource.com/t/sonarcloud-github-pr-checks/183980 "2026-06-24T08:34:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvjnj](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@nvjnj](https://community.sonarsource.com/u/nvjnj)\
**Post date:** [June 24, 2026, 8:34am UTC](https://community.sonarsource.com/t/sonarcloud-github-pr-checks/183980/1 "2026-06-24T08:34:38Z")

</div>

Hi everyone. Hoping someone can help with the issue we have below:

**Repository** : GitHub

**CI** : Jenkins

**Scanner Command** :

```bash
./sonar-scanner 
-Dsonar.token= **** -Dsonar.pullrequest.key=23412 \
-Dsonar.pullrequest.branch=web/fix/JIRA-1000-task-name \
-Dsonar.pullrequest.base=staging/base-branch \
-Dsonar.qualitygate.wait=true-Dsonar.python.coverage.reportPaths=server-coverage.xml \
-Dsonar.javascript.lcov.reportPaths=coverage/client1/lcov.info, ...
-Dsonar.python.xunit.reportPath=server-test-report.xml
-Dsonar.python.flake8.reportPaths=server-flake8-report.txt

```

**Languages Used** : python, javascript

**Error Observed** :

- We have PR checks implemented in the GitHub repo that prevents merge unless the sonar analysis is green lit
- The GitHub repo is bound to the sonar repository through the repo binding
- The PR decorations are working properly, but the PR check is forever stuck on “SonarCloud Code Analysis Expected— Waiting for status to be reported”
- The scan result is PASSED in both our jenkins pipeline step (we wait for qualitygate result) and on SonarCloud side. It just doesn’t update the GitHub check
- This does not happen always. There are some PRs that gets green lit with no issues. But we are facing a growing number of PRs that are getting stuck like this with no resolution other than to re-trigger the entire pipeline and hope it works this time

 ![Screenshot 2026-06-24 at 13.54.05](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/3/4/34871d26f3660ef629eea13f7475e6ccc7aec02f.png)

One note is that the scanner step above runs on Jenkins as part of the last step in our `continuous-integration/jenkins/pr-merge` test pipeline (since we need its test reports to send along with the scanner). As a result, if we don’t set “SonarCloud Code Analysis” as required, the above SonarCloud check doesn’t show up until the pipeline hits that pipeline step (not sure how relevant this information is)

Has anyone come across this and know how to resolve/debug this issue. Any help would be appreciated

---

<div class="post-metadata">

**Author:** ![andres](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/andres/32/76342_2.png) [@andres](https://community.sonarsource.com/u/andres)\
**Post date:** [June 25, 2026, 12:55pm UTC](https://community.sonarsource.com/t/sonarcloud-github-pr-checks/183980/2 "2026-06-25T12:55:39Z")

</div>

Hey @nvjnj, welcome to the Community! Could you please find the analysis task ID which resulted in the check that was not delivered? You can find this in the project \> Administration \> Background Tasks.
