SonarCloud used with a internally hosted GitLab instance

We use the open source GitLab and run our own instance internally. Would SonarCloud be able to post back results and quality gates back to merge requests (assuming it can reach our GitLab instance from the Internet and has credentials)? It appears that SonarQube 8.1 has support for this: https://www.sonarqube.org/sonarqube-8-1/

We haven’t yet setup SonarCloud or just a local SonarQube instance yet. We’re trying to decide between them. We’d prefer to just use SonarCloud for this if possible, but if this level of integration isn’t possible then we’ll go ahead with setting up our own instance.

Hi @vbenr and welcome to the community !

SonarCloud doesn’t support On-Prem GitLab instances, only SonarQube does.

HTH,
Mickaël

1 Like