diff --git a/.drone.yml b/.drone.yml index 55c51f9..4ee64e9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,9 +2,13 @@ kind: pipeline type: docker steps: + - name: build + image: mingc/android-build-box:latest + commands: + - ./gradlew build + - name: code-analysis image: mingc/android-build-box:latest - detach: true failure: ignore commands: - ls -la @@ -14,9 +18,3 @@ steps: from_secret: sonarScannerHostUrl SONAR_LOGIN: from_secret: sonarScannerLogin - - - - name: build - image: mingc/android-build-box:latest - commands: - - ./gradlew build