0

I am trying to generate an report using Sonar Scanner in swift project.
I have SonarQube version: 9.2.4.50792 running on Mac OS Ventura 13.0.1 whenever I try to run these commands

`sonar-scanner
-Dsonar.projectKey=xyz
-Dsonar.sources=.
-Dsonar.host.url=https://sonarqube.mycompany.com
-Dsonar.login=123asd12`

it gives this error:
`INFO: SonarScanner 4.6.2.2472

INFO: Java 11.0.17 Alpine (64-bit)

INFO: Linux 5.15.49-linuxkit aarch64

INFO: ------------------------------------------------------------------------

INFO: EXECUTION FAILURE

INFO: ------------------------------------------------------------------------

INFO: Total time: 2:30.223s

INFO: Final Memory: 5M/24M

INFO: ------------------------------------------------------------------------

ERROR: Error during SonarScanner execution

ERROR: Not authorized. Please check the properties sonar.login and sonar.password.

ERROR:

ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.`

0 Answers0