SonarCloud + Gitlab CI = KO

Hello I am using gitlab CI

When installing my sonar cloud account with it i get on maven build

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin: (default-cli) on project profile-service: Not authorized. Please check the properties sonar.login and sonar.password. -> [Help 1]

But I am using the SonarCloud token + URL

Can someone explain me what is happening?

no one?

Hi @laminepro,

First things first, have you correctly set the either SONAR_TOKEN environment variable or the -Dsonar.login argument for the token ?
And, for the URL, have you set the xml tag in the properties part of your pom.xml ?

You can check all the possible configuration here :