Hello,
I have launched SonarQube from .zip file on Windows, it’s running on 9000 port locally, and when I perform on my project root:
.\mvnw clean verify sonar:sonar -Dsonar.login=global-analysis-token
I get an error:
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar (default-cli) o
n project spring-boot-security-login: You're not authorized to run analysis. Please contact the project administ
rator. -> [Help 1]
I’ve tried doing -Dsonar.login
and --Dsonar.password
with Admin account (before that allowing Analysis permissions), but still no luck. What am I missing? Thanks.