Help Needed: Integrating SonarQube with GitLab CI for Multiple Branches (Dev & Prod)

Hi SonarQube Community,

I am new to SonarQube and currently working on integrating it into our CI/CD pipeline for a Spring Boot application. The repository has two branches: dev and prod, each with its own separate GitLab CI pipeline.

I’ve already installed the SonarQube Community Edition. However, I need some guidance on the steps to integrate SonarQube with our GitLab CI pipelines to run analysis for both the dev and prod branches.

Could someone please provide a detailed guide or example on how to configure SonarQube to perform analysis for both branches in our GitLab CI pipelines?

Thanks in advance for your help!

can anyone help me please

hi @Zikou
Branch analysis is a feature that is part of our commercial offering, starting with the Developer Edition.
You can definitely reach out to us to try this edition.
See here.

Carine

1 Like