I have the following pipeline script which does execute but I get a java error. (Project Home must be an existing directory: /root/src)
Is there a better docker-image to use, or some instructions on building the sonar-scanner within the image the default image?
default:
- step:
image: skilldlabs/sonar-scanner
name: Sonarcloud
script:
- sonar-scanner
-Dsonar.projectKey=myproject
-Dsonar.organization=myorg
-Dsonar.sources=.
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.login=mykey
Any help would be appreciated.