diff --git a/.drone.yml b/.drone.yml index fbca5e5..fdd434e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,10 +15,14 @@ steps: SONAR_LOGIN: from_secret: sonarScannerLogin - - name: generateApk + - name: build image: mingc/android-build-box:latest commands: - ./gradlew :androidApp:build -PignoreGitVersion=true -P appLoginUrl="\"URL\"" -P appLoginUsername="\"LOGIN\"" -P appLoginPassword="\"PASS\"" -P pushCache=false +trigger: + event: + - push + - pull_request --- kind: pipeline @@ -27,6 +31,7 @@ name: Publish steps: - name: createTag + image: ubuntu:latest commands: - ./build.sh