Loading .drone.yml +24 −8 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ pipeline: # - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 20M # - emulator -avd test -no-window & # - ./wait_for_emulator.sh # build app - ./gradlew clean build Loading @@ -22,4 +23,19 @@ pipeline: - scripts/lint/lint-up-wrapper.sh $GIT_USERNAME $GIT_TOKEN $BRANCH $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER secrets: [ GIT_USERNAME, GIT_TOKEN, LOG_USERNAME, LOG_PASSWORD ] notify: image: drillster/drone-email host: $EMAIL_HOST port: 587 username: $EMAIL_USERNAME password: $EMAIL_PASSWORD from: nextcloud-drone@kaminsky.me recipients_only: true recipients: [ $EMAIL_RECIPIENTS ] secrets: [ EMAIL_USERNAME, EMAIL_PASSWORD, EMAIL_RECIPIENTS, EMAIL_HOST ] when: event: push status: failure branch: master branches: master Loading
.drone.yml +24 −8 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ pipeline: # - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 20M # - emulator -avd test -no-window & # - ./wait_for_emulator.sh # build app - ./gradlew clean build Loading @@ -22,4 +23,19 @@ pipeline: - scripts/lint/lint-up-wrapper.sh $GIT_USERNAME $GIT_TOKEN $BRANCH $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER secrets: [ GIT_USERNAME, GIT_TOKEN, LOG_USERNAME, LOG_PASSWORD ] notify: image: drillster/drone-email host: $EMAIL_HOST port: 587 username: $EMAIL_USERNAME password: $EMAIL_PASSWORD from: nextcloud-drone@kaminsky.me recipients_only: true recipients: [ $EMAIL_RECIPIENTS ] secrets: [ EMAIL_USERNAME, EMAIL_PASSWORD, EMAIL_RECIPIENTS, EMAIL_HOST ] when: event: push status: failure branch: master branches: master