Private Repo/Project, we recently changed our organization name on GitHub.
Current issue is the “Sonarcloud bot” is no longer posting to the Pull Requests. I can see the analysis is happening on sonarcloud itself, but results are not posted to the PRs. Can you please advise.
You should be able to uninstall the Github application from your organization, and then retrigger the binding process via the global Administration > Organization Settings .
I’m sorry for the delayed response – I was traveling.
I really hoped this feature would address the problem. SonarCloud doesn’t do a good job handling name changes of organizations – and I always attributed this to the project binding becoming corrupt. If the project still shows up as bound correctly, I’m not sure what’s going on.
For most cases like this we usually have to suggest that organizations get recreated from scratch. I’m going to flag this for attention to see if there’s anything I’ve missed (and make sure a bug ticket exists for this)
Now that we looked at the config and it seems ok, we need to get technical to understand what’s the underlying problem is. It could be of 2 sorts:
somehow the analysis is messed up and doesn’t report Pull-Request information. However it’s provided (usually automatically), SonarCloud needs the following parameters in the analysis:
I can see the analysis being performed on SonarCloud itself, the summary posts that used to be posted to the PRs in GitHub are now no longer happening after the organization name change.
Alright, thanks for your answer. Could you please share your project key so we can track down internally what happened here? ie. what happened during the automatic code analysis, and also during the processing of the PR decoration.