edit notefication and add chaching
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Raffaele Mignone 2020-01-12 21:05:51 +01:00
parent 7bc707a443
commit 1461e1a179
Signed by: norangebit
GPG Key ID: F5255658CB220573

View File

@ -50,6 +50,10 @@ steps:
- name: build
image: nextcloudci/android:android-49
volumes:
- name: gradle
path: /root/.gradle
- name: android
path: /opt/android-sdk-linux
- name: tmp
path: /drone/src/out
commands:
@ -84,15 +88,22 @@ steps:
from_secret: telegram_user
format: markdown
message: |
{{#success build.status}}
Release-{{build.tag}} successfully released.
{{else}}
Build [#{{build.number}}]({{build.link}}) from commit [{{truncate commit.sha 10}}]({{commit.link}}) with tag {{build.tag}} **failed**.
{{uppercasefirst commit.author}} please fix me!
when:
status:
- failure
{{/success}}
volumes:
- name: tmp
temp: {}
- name: gradle
host:
path: /home/drone/.gradle
- name: android
host:
path: /home/drone/Android/Sdk
trigger:
event: