Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is failing Details

pull/1/head
Théo DUPIN 2 years ago
parent 0a714d6eb7
commit a49270e0e7

@ -10,7 +10,7 @@ steps:
- name: build
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- cd Sources
- cd Sources/
- dotnet LeagueOfLegends.sln
- dotnet build LeagueOfLegends.sln -c Release --no-restore
- dotnet publish LeagueOfLegends.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release
@ -18,7 +18,7 @@ steps:
- name: tests
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- cd Sources
- cd Sources/
- dotnet LeagueOfLegends.sln
- dotnet test LeagueOfLegends.sln --no-restore
depends_on: [build]
@ -26,7 +26,7 @@ steps:
- name: code-analysis
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6
commands:
- cd Sources
- cd Sources/
- dotnet restore LeagueOfLegends.sln
- dotnet sonarscanner begin /k:Entity_Framework_Theo /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.login=$${PLUGIN_SONAR_TOKEN}
- dotnet build LeagueOfLegends.sln -c Release --no-restore

Loading…
Cancel
Save