|
|
@ -10,14 +10,12 @@ steps:
|
|
|
|
- name: build
|
|
|
|
- name: build
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- cd BlazorApp1/
|
|
|
|
|
|
|
|
- dotnet restore BlazorApp1.sln
|
|
|
|
- dotnet restore BlazorApp1.sln
|
|
|
|
- dotnet build BlazorAPP1.sln -c Release --no-restore
|
|
|
|
- dotnet build BlazorAPP1.sln -c Release --no-restore
|
|
|
|
|
|
|
|
|
|
|
|
- name: tests
|
|
|
|
- name: tests
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- cd BlazorApp1/
|
|
|
|
|
|
|
|
- dotnet restore BlazorApp1.sln
|
|
|
|
- dotnet restore BlazorApp1.sln
|
|
|
|
- dotnet test BlazorApp1.sln --no-restore
|
|
|
|
- dotnet test BlazorApp1.sln --no-restore
|
|
|
|
depends_on: [build]
|
|
|
|
depends_on: [build]
|
|
|
@ -25,7 +23,6 @@ steps:
|
|
|
|
- name: code-analysis
|
|
|
|
- name: code-analysis
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- cd Sources/
|
|
|
|
|
|
|
|
- dotnet restore BlazorApp1.sln
|
|
|
|
- dotnet restore BlazorApp1.sln
|
|
|
|
- dotnet sonarscanner begin /k:$REPO_NAME /d:sonar.host.url=$$$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**" /d:sonar.login=$$$${PLUGIN_SONAR_TOKEN}
|
|
|
|
- dotnet sonarscanner begin /k:$REPO_NAME /d:sonar.host.url=$$$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**" /d:sonar.login=$$$${PLUGIN_SONAR_TOKEN}
|
|
|
|
- dotnet build BlazorApp1.sln -c Release --no-restore
|
|
|
|
- dotnet build BlazorApp1.sln -c Release --no-restore
|
|
|
|