How we can integrate SonarQube with Gitlab for .Net Project

Hi Community,

I am trying to integrate my .Net Project from GitLab with SonarQube.
I am following this doc GitLab Integration | SonarQube Docs.
I have configured the Application ID and added it to SonarQube.
I have configured the variables for sonarqube in GitLab.

When I tried to add Project it show me following error.


I am not understanding what I missed Can you Please help me out ?

Hey there.

SonarQube doesn’t follow redirects when interacting with the GitHub API (SONAR-14213). You should make sure you’ve providing the “final” URL, not one that is redirected elsewhere.