2019-11-07 18:29:47 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2019-11-24 20:39:13 +00:00
|
|
|
image: nextcloudci/android:android-49
|
2019-11-28 13:55:08 +00:00
|
|
|
volumes:
|
|
|
|
- name: gradle
|
|
|
|
path: /root/.gradle
|
|
|
|
- name: android
|
|
|
|
path: /opt/android-sdk-linux
|
2019-11-07 18:29:47 +00:00
|
|
|
commands:
|
2019-11-24 20:39:13 +00:00
|
|
|
- ./gradlew build
|
2019-11-07 18:29:47 +00:00
|
|
|
|
|
|
|
- name: notify
|
|
|
|
image: appleboy/drone-telegram
|
|
|
|
settings:
|
|
|
|
token:
|
|
|
|
from_secret: telegram_token
|
|
|
|
to:
|
|
|
|
from_secret: telegram_user
|
|
|
|
format: markdown
|
|
|
|
message: |
|
2019-11-14 18:35:13 +00:00
|
|
|
Build [#{{build.number}}]({{build.link}}) from commit [{{truncate commit.sha 10}}]({{commit.link}}) on {{commit.branch}} **failed**.
|
2019-11-07 18:29:47 +00:00
|
|
|
{{uppercasefirst commit.author}} please fix me!
|
2019-11-07 18:34:59 +00:00
|
|
|
when:
|
|
|
|
status:
|
|
|
|
- failure
|
2019-11-28 13:55:08 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: gradle
|
|
|
|
host:
|
2019-11-28 14:02:26 +00:00
|
|
|
path: /home/drone/.gradle
|
2019-11-28 13:55:08 +00:00
|
|
|
- name: android
|
|
|
|
host:
|
2019-11-28 14:02:26 +00:00
|
|
|
path: /home/drone/Android/Sdk
|