- ALM used: GitHub
- CI system used: GitHub Actions
- Scanner command used:
sonar-scanner -Dsonar.projectKey=magicphotos_magicphotos-android \
-Dsonar.projectName="MagicPhotos Android" \
-Dsonar.organization=magicphotos-github \
-Dsonar.sources=. \
-Dsonar.sourceEncoding=UTF-8 \
-Dsonar.exclusions="qml/**/*,translations/*" \
-Dsonar.cfamily.build-wrapper-output=.build/bw-output \
-Dsonar.cfamily.cache.enabled=false \
-Dsonar.cfamily.threads=1 \
-Dsonar.java.source=1.7 \
-Dsonar.java.binaries=.build \
-Dsonar.host.url=https://sonarcloud.io
- Languages of the repository: C++, Java
- Error observed:
I have a few GitHub organizations linked to my account, and I run SonarCloud analysis for some repos owned by these organizations. Relatively recently (in January) I added a new organization to my SonarCloud account and then I noticed that, unlike other organizations, for this new organization commit decoration is performed by SonarCloud. This is an example of such commit decoration for repo from new organization:
However, for organizations added earlier commit decoration is not performed:
I wonder, why is this? SonarCloud-related scripts are almost the same for both repos (except things like sonar.projectKey, sonar.projectName and sonar.organization). I tried to reinstall SonarCloud GitHub app for earlier added organization, but no luck. I would like to avoid deleting and re-adding the GitHub organization to SonarCloud unless it is absolutely necessary. What else I can do to enable commit decoration for all my organizations?