|
|
|
@ -41,7 +41,7 @@ steps:
|
|
|
|
|
sonar_host: https://codefirst.iut.uca.fr/sonar/
|
|
|
|
|
sonar_token:
|
|
|
|
|
from_secret: SECRET_SONAR_LOGIN
|
|
|
|
|
project_key: BookApp
|
|
|
|
|
project_key: BookApp_Louis
|
|
|
|
|
coverage_exclusions: "Tests/**"
|
|
|
|
|
commands:
|
|
|
|
|
- cd src/
|
|
|
|
@ -52,7 +52,7 @@ steps:
|
|
|
|
|
- reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport"
|
|
|
|
|
- dotnet publish BookApp/BookApp.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/release -f:net7.0-android /p:AndroidSdkDirectory=/usr/lib/android-sdk
|
|
|
|
|
- dotnet sonarscanner end /d:sonar.login=$${sonar_token}
|
|
|
|
|
depends_on: [build]
|
|
|
|
|
depends_on: [test]
|
|
|
|
|
|
|
|
|
|
- name: generate-and-deploy-docs
|
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer
|
|
|
|
|