This commit is contained in:
@ -5,10 +5,10 @@ steps:
|
||||
image: mono
|
||||
commands:
|
||||
- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin
|
||||
- dotnet tool install --global dotnet-sonarscanner
|
||||
- dotnet sonarscanner begin /k:"tidstagning" /d:sonar.host.url="https://sonarqube.jcktrue.dk" /d:sonar.login="$TOKEN"
|
||||
- /root/.dotnet/dotnet tool install --global dotnet-sonarscanner
|
||||
- /root/.dotnet/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"
|
||||
- /root/.dotnet/dotnet sonarscanner end /d:sonar.login="$TOKEN"
|
||||
environment:
|
||||
TOKEN:
|
||||
from_secret: SONARQUBE_TOKEN
|
Reference in New Issue
Block a user