Scan code in sonar cloud through Jenkins file (Placed in Github Repo) & Results back to Github

I have Repo(code:C++,Python,HTML etc…) in Github, and need to write jenkins file, through that scan the code in SonarCloud.

& need results back to Github. how to achieve this? help needed.

Regards,

Hey there.

Have you reviewed the documentation on the Jenkins extension for SonarCloud?

ya i saw that one already.

that means, while doing scan through jenkins file,

Configuring a webhook secret will automatically report results back to Github??