Home > database >  How to integrate gitlab repo (develop branch) in sonarqube
How to integrate gitlab repo (develop branch) in sonarqube

Time:12-17

I am very new to the sonarqube. I am running sonarqube via docker and I want to get my GitLab projects reflected there. kindly guide.

Thanks in advance.

CodePudding user response:

You will need to invoke sonarscanner from you Gitlab CI and point to your Sonarqube instance (either cloud or on-premise).

You can start with the SonarQube manual, which has a snippet of gitlab-ci.yml that you can drop into your pipeline.

  • Related