add clean pipeline
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Raffaele Mignone 2020-01-08 20:44:22 +01:00
parent b49947a916
commit f03aea7376
Signed by: norangebit
GPG Key ID: F5255658CB220573
1 changed files with 36 additions and 0 deletions

View File

@ -35,3 +35,39 @@ volumes:
- name: android
host:
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