Setup notifications for failure
This commit is contained in:
parent
a4aa3d669f
commit
8d73dd3df5
12
.drone.yml
12
.drone.yml
@ -19,6 +19,18 @@ steps:
|
||||
compose: docker-compose.prod.yml
|
||||
deploy_key:
|
||||
from_secret: drone_ssh_swarm.autonomic.zone
|
||||
|
||||
- name: notify rocket chat
|
||||
image: plugins/slack
|
||||
settings:
|
||||
webhook:
|
||||
from_secret: rc_builds_url
|
||||
username: comradebritney
|
||||
channel: "internal.builds"
|
||||
template: "{{repo.owner}}/{{repo.name}} build failed: {{build.link}}"
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
|
Reference in New Issue
Block a user