Browse Source

Introduce Project Name in Slack notification

pull/342/head
Sai Ram Kunala 5 years ago
committed by GitHub
parent
commit
c9979cc125
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      templates/integrations/slack_message.json

+ 6
- 0
templates/integrations/slack_message.json View File

@ -13,6 +13,12 @@
"mrkdwn_in": ["fields"],
"text": "“{{ check.name_then_code|escapejs }}” is {{ check.status|upper }}.",
"fields": [
{% if check.project.name %}
{"title": "Project Name",
"value": "{{ check.project.name|escapejs }}"
},
{% endif %}
{% if check.desc %}
{"title": "Description",
"value": "{{ check.desc|escapejs }}"


Loading…
Cancel
Save