Sonarqube-github integration issue

Hi Team,

I’m attempting to integrate GitHub with sonarqube in order to perform code analysis. I installed the GitHub app and attempted to configure it with the sonarqube server. However, it is throwing the following error while doing ALM Integration in sonarqube.
Failed to validate configuration and check URL and private key. GitHub URL issue.
Please assist me with this, and also let me know what exact URL needs to be mentioned in the GitHub API URL in this sonarqube ALM Configuration.(with example).

Thanks.

Hi,

Here’s what we use internally:

https://api.github.com

 
HTH,
Ann

Hi Ann,

Thanks for your response.
I mentioned this https://api.github.com URL in ALM integration and it is showing success, but I still can’t add the project using the GitHub option and also I can’t login to Sonarqube via GitHub.
PFB screenshots and kindly help me on this.


Regards,
Mounika.

Hi Mounika,

So first, this seems to be two new questions and we try to keep it to one question per thread. That said, you should probably check your server logs and the docs?

 
HTH,
Ann