Browse Source
Merge pull request #342 from sairam/patch-1
Introduce Project Name in Slack notification
pull/358/head
Pēteris Caune
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
templates/integrations/slack_message.json
|
|
@ -13,6 +13,12 @@ |
|
|
|
"mrkdwn_in": ["fields"], |
|
|
|
"text": "“{{ check.name_then_code|escapejs }}” is {{ check.status|upper }}.", |
|
|
|
"fields": [ |
|
|
|
{% if check.project.name %} |
|
|
|
{"title": "Project", |
|
|
|
"value": "{{ check.project.name|escapejs }}" |
|
|
|
}, |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% if check.desc %} |
|
|
|
{"title": "Description", |
|
|
|
"value": "{{ check.desc|escapejs }}" |
|
|
|