edit notefication and add chaching
This commit is contained in:
parent
7bc707a443
commit
1461e1a179
21
.drone.yml
21
.drone.yml
@ -50,6 +50,10 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: nextcloudci/android:android-49
|
image: nextcloudci/android:android-49
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: gradle
|
||||||
|
path: /root/.gradle
|
||||||
|
- name: android
|
||||||
|
path: /opt/android-sdk-linux
|
||||||
- name: tmp
|
- name: tmp
|
||||||
path: /drone/src/out
|
path: /drone/src/out
|
||||||
commands:
|
commands:
|
||||||
@ -84,15 +88,22 @@ steps:
|
|||||||
from_secret: telegram_user
|
from_secret: telegram_user
|
||||||
format: markdown
|
format: markdown
|
||||||
message: |
|
message: |
|
||||||
Build [#{{build.number}}]({{build.link}}) from commit [{{truncate commit.sha 10}}]({{commit.link}}) with tag {{build.tag}} **failed**.
|
{{#success build.status}}
|
||||||
{{uppercasefirst commit.author}} please fix me!
|
Release-{{build.tag}} successfully released.
|
||||||
when:
|
{{else}}
|
||||||
status:
|
Build [#{{build.number}}]({{build.link}}) from commit [{{truncate commit.sha 10}}]({{commit.link}}) with tag {{build.tag}} **failed**.
|
||||||
- failure
|
{{uppercasefirst commit.author}} please fix me!
|
||||||
|
{{/success}}
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: tmp
|
- name: tmp
|
||||||
temp: {}
|
temp: {}
|
||||||
|
- name: gradle
|
||||||
|
host:
|
||||||
|
path: /home/drone/.gradle
|
||||||
|
- name: android
|
||||||
|
host:
|
||||||
|
path: /home/drone/Android/Sdk
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
Loading…
Reference in New Issue
Block a user