Add RocketChat notifications for failed builds
This commit is contained in:
parent
1a6688cfbf
commit
7feeab24ec
12
.drone.yml
12
.drone.yml
@ -26,6 +26,18 @@ steps:
|
|||||||
from_secret: codecov_token
|
from_secret: codecov_token
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
- 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:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
Reference in New Issue
Block a user