mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-12-04 07:11:05 +01:00
28 lines
739 B
Cheetah
28 lines
739 B
Cheetah
{
|
|
"attachments": [
|
|
{
|
|
"title": "Task: {{ .Name }}",
|
|
"title_link": "{{ .Task.URL }}",
|
|
"text": "execution #{{ .Task.ID }}, status: {{ .Task.Result }}!",
|
|
"color": "{{ .Color }}",
|
|
"mrkdwn_in": [
|
|
"text"
|
|
],
|
|
"fields": [
|
|
{
|
|
"title": "Author",
|
|
"value": "{{ .Author }}",
|
|
"short": true
|
|
{{ if .Task.Version }}
|
|
},
|
|
{
|
|
"title": "Version",
|
|
"value": "{{ .Task.Version }}",
|
|
"short": true
|
|
{{ end }}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|