Start Free
SonarQube Community Build | DevOps platform integration | GitLab integration | Importing your GitLab repositories

Importing your GitLab repositories into SonarQube Community Build

On this page

Once the integration of SonarQube Community Build with GitLab has been properly set up, you can import a GitLab repository to create the corresponding project in SonarQube Community Build. To do so, you need the Create Project permission in SonarQube Community Build. 

The so-created SonarQube Community Build project is "bound" to its GitLab repository. With a bound project:

  • The project’s main branch name will be automatically set up from GitLab.

Importing one or several GitLab repositories

  1. In the top navigation bar of SonarQube Community Build, select the Projects tab.
  2. In the top right corner, select the Create Project > Import from DevOps platforms button.
  3. In the Import from GitLab section, select Setup. The GitLab project onboarding page opens. 
    The repositories of the organization are listed on the page.
  4. Select one or several repositories.
  5. Select the Set up button to create the corresponding projects. The Projects page opens and displays the newly created projects at the top.

Was this page helpful?

© 2008-2025 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License