kind: pipeline name: default steps: - name: build image: mono commands: - dotnet tool install --global dotnet-sonarscanner - dotnet sonarscanner begin /k:"tidstagning" /d:sonar.host.url="https://sonarqube.jcktrue.dk" /d:sonar.login="$TOKEN" - msbuild Tidstagning.sln - dotnet sonarscanner end /d:sonar.login="$TOKEN" environment: TOKEN: from_secret: SONARQUBE_TOKEN