Jenkins Master and GitLab Repository information Required from SonarQube

Hi Team,

We are using SonarQube Community Edition 9.2.3 and trying to get the GitLab repository information and along with the Jenkins master name from where project scanning being performed. I looked up all the WebAPI and could not find out apt API available to get this information.

We have a SonarQube Project Name available and want to get the GitLab repository used in that along with Jenkins master where the scanning was performed. Is there any way to get this information extracted from SonarQube? Please help me out on this.

Thanks,
Prasad.

Hey there.

Any information you can access in the UI, you can find via API by following the guide: How to reverse engineer the Sonar Web API

Other information (like what jenkins master sent the scan) isn’t going to be available.