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
parent
commit
1baa8ad46d
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",
"value": "{{ check.project.name|escapejs }}"
},
{% endif %}
{% if check.desc %}
{"title": "Description",
"value": "{{ check.desc|escapejs }}"


Loading…
Cancel
Save