From 381d6acc829ba8dba25deb9d78ee2d616a9cde4f Mon Sep 17 00:00:00 2001 From: aminecmi Date: Thu, 29 Sep 2022 15:34:12 +0200 Subject: [PATCH] Analyzing should be with the rest. --- .drone.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index c7051e9..679d8d0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,23 +3,13 @@ type: docker name: test steps: - - name: Anylyse + - name: AnylyseBuildTest image: mingc/android-build-box:latest - failure: ignore - detach: true commands: - echo "---------------------------------------------------------" - echo "Analysing..." - ./gradlew sonarqube -Dsonar.projectKey=RFS2 -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN -PignoreGitVersion=true -P appLoginUrl="\"URL\"" -P appLoginUsername="\"LOGIN\"" -P appLoginPassword="\"PASS\"" - echo "---------------------------------------------------------" - environment: - SONAR_HOST_URL: - from_secret: sonarScannerHostUrl - SONAR_LOGIN: - from_secret: sonarScannerLogin - - name: BuildAndTest - image: mingc/android-build-box:latest - commands: - echo "Building..." - ./gradlew :androidApp:build -PignoreGitVersion=true -P appLoginUrl="\"URL\"" -P appLoginUsername="\"LOGIN\"" -P appLoginPassword="\"PASS\"" -P pushCache=false - echo "---------------------------------------------------------"