From 5b7f5225d85a0d5f1f8edfebcbeb920c51cc37e0 Mon Sep 17 00:00:00 2001 From: aminecmi Date: Wed, 17 Aug 2022 14:03:32 +0200 Subject: [PATCH] Can't be detached because of a lock file. --- .drone.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 283590f..f395dbe 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,15 +3,9 @@ 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 @@ -20,3 +14,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"