Differences between setting up SonarQube Scanner with enterprise account vs sonarcloud account?

Version (SonarQube Enterprise, self-hosted): 8.4.2

I am trying to setup SonarQube Scanner using Travis CI and Github.

I followed this documentation. Keep getting ERROR: Not authorized. Please check the properties sonar.login and sonar.password. I tried with the travis encrypted token, with the SONAR_TOKEN env variable in Travis CI settings, with the sonar.login and sonar.password in the sonar-project.properties file, and I keep ending up with the same error.

I want to know if there is a difference between setting up SonarQube Scanner in Travis CI with an enterprise account vs a Sonarcloud account. If so, where can I find relevant documentation for setting up SonarQube Scanner in Travis CI?

Also, where in Sonarcloud can I find the organization key?

Hi Milad,

SonarCloud and SonarQube are two different products.
The setup for Travis is similar but you have to make sure that you are connecting to your SonarQube instance and not to sonarloud.io.

I suggest you ask on the SonarQube community for more help. This might help: How to install sonar-scanner in Travis CI