Can I scan Github and Gitlab projects under the same organization?

Hi,

I have a paid account on sonarcloud with 2million LoC and I have created an organization to scan projects from github. Can I use the same orgnization to scan projects from Gitlab as well?

Regards,
Pradeep

Hello Pradeep,

Unfortunately this is not possible under one organization. To start scanning your GitLab projects you have to connect with your GitLab account and setup a new organization. Let me know if you have any other questions in that regard.

Best,
Martin

1 Like

How does this impact billing?

I have a similar problem; my organisation is bound to an Azure DevOps org, but we have some projects in a GitHub team that I’d like to include (especially because they’re open-source that we then typically use within Azure DevOps closed-source projects).

I don’t really want to maintain two SonarCloud organisations and two sets of billing for that.

@Martin_Bednorz Are there any plans to create a more seamless experience for real-world organizations that use more than one SCM host such as Bitbucket and GitHub or GitLab and Azure DevOps? We’re in the process of moving to GitHub from Bitbucket, and it looks like we’ll have to discard the entire history and switch over billing just to be able to get SonarCloud to report on our GitHub project pull requests, not to mention that it will forcibly remove me from the old org because I used the same email address for Bitbucket and GitHub.