Add RocketChat notifications for failed builds

This commit is contained in:
3wc 2021-01-29 13:44:55 +02:00
parent 1a6688cfbf
commit 7feeab24ec

View File

@ -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