|
|
@ -11,8 +11,8 @@ steps:
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- cd Sources
|
|
|
|
- cd Sources
|
|
|
|
- dotnet add package Newtonsoft.Json --version 13.0.2
|
|
|
|
|
|
|
|
- dotnet workload restore
|
|
|
|
- dotnet workload restore
|
|
|
|
|
|
|
|
- dotnet add package Newtonsoft.Json
|
|
|
|
- dotnet restore CI_MAUI.sln
|
|
|
|
- dotnet restore CI_MAUI.sln
|
|
|
|
- dotnet build CI_MAUI.sln -c Release --no-restore
|
|
|
|
- dotnet build CI_MAUI.sln -c Release --no-restore
|
|
|
|
- dotnet publish CI_MAUI.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release
|
|
|
|
- dotnet publish CI_MAUI.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release
|
|
|
@ -29,8 +29,8 @@ steps:
|
|
|
|
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/
|
|
|
|
- cd Sources/
|
|
|
|
- dotnet add package Newtonsoft.Json --version 13.0.2
|
|
|
|
|
|
|
|
- dotnet workload restore
|
|
|
|
- dotnet workload restore
|
|
|
|
|
|
|
|
- dotnet add package Newtonsoft.Json
|
|
|
|
- dotnet restore CI_MAUI.sln
|
|
|
|
- dotnet restore CI_MAUI.sln
|
|
|
|
- dotnet sonarscanner begin /k:ConsEco /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:ConsEco /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 CI_MAUI.sln -c Release --no-restore
|
|
|
|
- dotnet build CI_MAUI.sln -c Release --no-restore
|
|
|
|