Integrate SonarQube with your AI agent, scan for secrets and dependency risks, and explore and manage issues—all from the command line.
Start using SonarQube CLI
I’m trying to execute sonarcloud through travis for the PrimeFaces organization. But if fails every time, it says: “Not authorized. Please check the properties sonar.login and sonar.password”
I created that organization so I should have enough privilieges and I encrypt the token with “travis encrypt” command line, I displayed the credentials on the output and it seems correct to me but still I’m not authorized… Here is the output of $SONARQUBE_SCANNER_PARAMS { “sonar.organization” : “primefaces”, “sonar.host.url” : “https://sonarcloud.io”, “sonar.login” : “my_encrypted_token” }
Yup it has the correct configuration. But still not working. I guess the only clue I have is the token. I used travis encrypt -r Rapster/primefaces “encrypted_token” (or if I execute the command on the folder itself it’ll detect it). Both end up with the same result