From 38f87a4136631aa01383ebc663f205db849b384b Mon Sep 17 00:00:00 2001 From: "matheo.thierry" Date: Mon, 15 May 2023 13:53:21 +0200 Subject: [PATCH] test v1 sonar fix2 --- .drone.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 70bf75e..a0b2533 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,7 @@ steps: commands: - cd notus/ - dotnet restore notus_without_maui.sln - - dotnet build notus_without_maui.sln -c Release --no-restore + - dotnet build notus_without_maui.sln -c Release --no-restore /p:AndroidSdkDirectory=$ANDROID_SDK_ROOT -property:Aapt2ToolPath=$ANDROID_SDK_ROOT/build-tools/33.0.0 - dotnet publish notus_without_maui.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release depends_on: [clone] @@ -42,4 +42,6 @@ steps: - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" - dotnet publish notus_without_maui.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN} + branch: + - vSonar_test depends_on: [build,tests] \ No newline at end of file