wedroid/.drone.yml
norangebit 320808be10
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
edit drone notification
Now the notification message contains the direct link to the build and
the branch.
2019-11-14 19:35:13 +01:00

25 lines
528 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: gradle:5.6.3
commands:
- gradle 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