Sonar-scanner cannot run on windows with gitlab runner

Hi
I am executing as i said in the message:
$ sonar-scanner -Dsonar.login=xxx -Dsonar.host.url=xxx -X

I found out the problem. Its the syntax. On powershell I should run as below arguments with double quotes
$ sonar-scanner -D"sonar.login=xxx" -D"sonar.host.url=xxx" -X

2 Likes