SonarCloud multi source control integration

  • ALM used: GitHub, GitLab
  • CI system used: GitHub action, GitLab CI/CD
  • Error observed
The email address sleepall@gmail.com is already associated to this user account:

GitHub:apichaya-s
By clicking on "Continue" you will associate this email address to another user account:

GitLab:apichaya-s
This means the following:
Your email address will be erased from the first account.
You will no longer receive email notifications from this account.
Issues won't be automatically assigned to this account anymore.
  • Steps to reproduce
    I already have an account using GitHub info but I want to integrate sonarcloud to project under GitLab also. During integration it will delete the sonarcloud GitHub account. Can I use both GitLab and GitHub on the same organization or separate organization with the same account?

Hello @apichaya-s ,

You can safely use the email address with both GitHub and GitLab, none of your projects or configurations are going to be removed. What will happen is that (taken directly from the message above):

  • You will no longer receive email notifications from this account (the one that was logged in before).
  • Issues won’t be automatically assigned to this account anymore (the one that was logged in before).

In the end you are going to have an account and organization for GitHub and one for GitLab. It is not possible to use the same organization for GitHub and GitLab projects at the same time.