add release pipeline #27

Manually merged
UmbertoF merged 7 commits from feature_ci into develop 2020-01-14 20:20:13 +00:00
Showing only changes of commit f03aea7376 - Show all commits

View File

@ -35,3 +35,39 @@ volumes:
- name: android - name: android
host: host:
path: /home/drone/Android/Sdk path: /home/drone/Android/Sdk
trigger:
branch:
exclude:
- master
---
kind: pipeline
type: docker
name: clean
steps:
- name: build
image: nextcloudci/android:android-49
commands:
- ./gradlew build
- name: notify
image: appleboy/drone-telegram
settings:
token:
from_secret: telegram_token
to:
from_secret: telegram_user
format: markdown
message: |
Build [#{{build.number}}]({{build.link}}) from commit [{{truncate commit.sha 10}}]({{commit.link}}) on {{commit.branch}} **failed**.
{{uppercasefirst commit.author}} please fix me!
when:
status:
- failure
trigger:
branch:
include:
- master