The serverBaseURL is configured on sonarqube, and I’ve tried different combinations of http/https URLs, neither of which seems to be working.
We’ve been told that the gitlab integration works also with gitlab.com, but I’am a bit skeptical how that might be so, seeing how I can register an OAuth application only under my User profile. And we would want to have all the members of a Group using the gitlab.com login.
So there are two concrete questions:
Can we use gitlab integration with gitlab.com Group structures?
It appears you will need to create an OAuth application under a specific user account, absent a higher level concept you could create it under (like I would imagine there is for other flavours of GitLab).
I had no issues using an OAuth application created by my account to login users who aren’t the creator of that application. Group sync works fine as well.
We’re still in the early days of our products getting chummy with GitLab, so thanks for bearing with us! Feedback is more than welcome.
Thank you for the swift response. Indeed the trailing slash was the one causing ruckus.
I was able to login with my user, but it just mapped me to the default ‘sonar-users’ group. Which let’s say is fine for now.
We’re very curious about the "Find issues in GitLab branches & merge requests " We’ve received a trial key for the Developers Edition and have registered our sonarqube instance with it, but under the General Settings -> SCM I still only see the 3 default github/bitbucket/azure devops options.
Do you have any documentation on how we can enable and use this feature?
Pull (Merge) Request Decoration for GitLab is not yet a feature of SonarQube (keep an eye on MMF-1840), but if you’re using GitLab CI/CD there are some nifty autoconfiguration of analysis (see: Running Analysis with Gitlab CI/CD).
While you may not see anything in GitLab, you can still SonarQube results in SonarQube in the context of a specific branch/MR etc.