How configure webhook on SonarCloud to integrate with Github

Hi Everyone!

I’m working on setting up SonarCloud to work with Github. I need to send the result of the analysis to my private repository on Github when some pull request is done.
I was trying to setup a webhook on SonarCloud/Administration/Webhooks page, adding the url of my github repository https://myLogin:myPassword@github.com/my_organization/my_repo but looks like it is not working because I don’t see the result of the analysis on github. I can see that it is trying to delivery but if fails. I see the result of the analysis on SonarCloud but not in Github, I need it to block or allow merge pull requests to master.

I will appreciate the help!
Thanks

Hi,

You can find the documentation on SonarCloud/Github integration here: https://sonarcloud.io/documentation/integrations/github

1 Like

This is now an invalid link. Can you direct me to the documentation for the SonarCloud GitHub PR integration?

Thanks

Oups, sorry, I miss the final slash, here it is: https://sonarcloud.io/documentation/integrations/github/

Hi Xavier,

SonarSource/ sq-com_example_java-gradle-travis The branch was Failed.

And there used to have a small Sonar logo in the check list, and it will show whether sonar check was pass or fail. Why the small logo is disappeared now?

Thanks.