Mise à jour de '.drone.yml'
continuous-integration/drone/push Build encountered an error Details

master
Cedric CHARBONNEL 2 years ago
parent 4ca6ef842a
commit 6d674eeec9

@ -10,7 +10,7 @@ steps:
- name: build
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
commands:
- cd LOLAPP/LOLAPP
- cd LOLAPP/LOLAPP/
- dotnet restore LOLAPP.sln
- dotnet build LOLAPP.sln -c Release --no-restore /p:AndroidSdkDirectory=$ANDROID_SDK_ROOT -property:Aapt2ToolPath=$ANDROID_SDK_ROOT/build-tools/33.0.0
-dotnet publish LOLAPP.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release --framework net7.0
@ -18,7 +18,7 @@ steps:
- name: tests
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
commands:
- cd LOLAPP/LOLAPP
- cd LOLAPP/LOLAPP/
- dotnet restore LOLAPP.sln
- dotnet test LOLAPP.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage"
depends_on: [build]
@ -33,7 +33,7 @@ steps:
sonar_token:
from_secret: SECRET_SONAR_LOGIN
commands:
- cd LOLAPP/LOLAPP
- cd LOLAPP/LOLAPP/
- dotnet restore LOLAPP.sln
- dotnet sonarscanner begin /k:"LOLAPP" /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.login=$${PLUGIN_SONAR_TOKEN}
- dotnet build LOLAPP.sln -c Release --no-restore

Loading…
Cancel
Save