|
@@ -1,20 +1,12 @@
|
|
|
kind: pipeline
|
|
kind: pipeline
|
|
|
-type: docker
|
|
|
|
|
-name: .net sonar
|
|
|
|
|
|
|
+name: default
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
|
- - name: login docker
|
|
|
|
|
|
|
+ - name: test
|
|
|
|
|
+ image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
commands:
|
|
commands:
|
|
|
- - docker login --username sholle --password e4fdjFpTKD
|
|
|
|
|
- - name: .Net-SonarScanner
|
|
|
|
|
- image: sdk:3.5-windowsservercore-ltsc2019
|
|
|
|
|
- commands:
|
|
|
|
|
- - export PATH="$PATH:/root/.dotnet/tools"
|
|
|
|
|
- - dotnet tool install --global dotnet-sonarscanner
|
|
|
|
|
-
|
|
|
|
|
- - apt update -y
|
|
|
|
|
- - apt install mono-devel -y
|
|
|
|
|
-
|
|
|
|
|
- dotnet sonarscanner begin /k:"narKampen" /d:sonar.host.url="http://nordh.xyz:9088" /d:sonar.login="60ee04e339236ab586302b761e38f7c9b1ea8d99"
|
|
- dotnet sonarscanner begin /k:"narKampen" /d:sonar.host.url="http://nordh.xyz:9088" /d:sonar.login="60ee04e339236ab586302b761e38f7c9b1ea8d99"
|
|
|
- dotnet build
|
|
- dotnet build
|
|
|
- dotnet sonarscanner end /d:sonar.login="60ee04e339236ab586302b761e38f7c9b1ea8d99"
|
|
- dotnet sonarscanner end /d:sonar.login="60ee04e339236ab586302b761e38f7c9b1ea8d99"
|
|
|
|
|
+image_pull_secrets:
|
|
|
|
|
+ -
|