diff --git a/.drone.yml b/.drone.yml index 6fea701..283590f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,11 @@ 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 @@ -15,8 +20,3 @@ 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"