From e06e6d580d677e6d2ee787138e7785283cd628c4 Mon Sep 17 00:00:00 2001 From: aminecmi Date: Wed, 17 Aug 2022 10:59:05 +0200 Subject: [PATCH] Detached scan. --- .drone.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 17f4071..6fea701 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,14 +3,10 @@ type: docker name: android steps: - - name: build - image: mingc/android-build-box:latest - commands: - - ./gradlew :androidApp:build -PignoreGitVersion=true -P appLoginUrl="URL" -P appLoginUsername="LOGIN" -P appLoginPassword="PASS" - - name: code-analysis image: mingc/android-build-box:latest failure: ignore + detach: true commands: - ls -la - ./gradlew sonarqube -Dsonar.projectKey=RFS2 -Dsonar.sources=. -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN -PignoreGitVersion=true @@ -19,3 +15,8 @@ steps: from_secret: sonarScannerHostUrl SONAR_LOGIN: from_secret: sonarScannerLogin + + - name: build + image: mingc/android-build-box:latest + commands: + - ./gradlew :androidApp:build -PignoreGitVersion=true -P appLoginUrl="URL" -P appLoginUsername="LOGIN" -P appLoginPassword="PASS"