This commit is contained in:
@ -2,13 +2,11 @@ kind: pipeline
|
||||
name: default
|
||||
steps:
|
||||
- name: build
|
||||
image: mono
|
||||
image: azimarev/mono-sonarqube-scanner
|
||||
commands:
|
||||
- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin
|
||||
- /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"
|
||||
- mono /opt/sonar-scanner-msbuild/SonarScanner.MSBuild.exe begin /k:"tidstagning" /d:sonar.host.url="https://sonarqube.jcktrue.dk" /d:sonar.login="$TOKEN"
|
||||
- msbuild Tidstagning.sln
|
||||
- /root/.dotnet/dotnet sonarscanner end /d:sonar.login="$TOKEN"
|
||||
- mono /opt/sonar-scanner-msbuild/SonarScanner.MSBuild.exe sonarscanner end /d:sonar.login="$TOKEN"
|
||||
environment:
|
||||
TOKEN:
|
||||
from_secret: SONARQUBE_TOKEN
|
Reference in New Issue
Block a user