Closed xuri422 closed 1 year ago
Hello @xuri422 ,
You should either use sonar.token
(see https://docs.sonarqube.org/latest/user-guide/user-account/generating-and-using-tokens/) or ensure you have the proper permissions to analyze a project with your login and password.
For further help, please post your logs and what you have tried on [Sonar Community(https://community.sonarsource.com/), not on the issues page of the repository. You will get a better response time there.
D:\sonar-scanning-examples-master\sonarqube-scanner-gradle\gradle-basic>gradlew.bat -D'sonar.host.url=http://XX.XX.XX.XX:9000' sonar
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':sonar'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 2s 3 actionable tasks: 1 executed, 2 up-to-date
So, How can I authorized? I have tried to input below in gradle.properties: sonar.login=xxx sonar.password=xxx systemProp.sonar.host.url=http://10.1.7.142:9000