We are trying to integrate Gitlab-sonarcube - and seeing the below issue.
Please advise how to solve this issue.
ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:184.108.40.2064:sonar (default-cli) on project SearchCatalog: Not authorized. Analyzing this project requires authentication. Please provide a user token in sonar.login or other credentials in sonar. login and sonar. password.
I have followed the steps and defined the SonarQube Token environment variable in Gitlab - added in the → Settings > CICD > variables
Attached is the screenshot for more details.
JFYI,… SonarQube version: 220.127.116.11531