Hi All,
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:3.9.1.2184: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: 9.6.1.59531