This commit is contained in:
parent
d9828186fd
commit
3d63ed4790
4 changed files with 98 additions and 99 deletions
35
message_old.tpl
Normal file
35
message_old.tpl
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"cards": [
|
||||
{
|
||||
"header": {
|
||||
"title": "{{ .Title }}",
|
||||
"subtitle": "{{ .SubTitle }}",
|
||||
"imageUrl": "{{ .IconUrl }}",
|
||||
"imageStyle": "IMAGE"
|
||||
},
|
||||
"sections": [
|
||||
{
|
||||
"widgets": [
|
||||
{
|
||||
"textParagraph": {
|
||||
"text": "<b>Project:</b> {{ .Project }}<br><b>Commit-id:</b> <font color=\"#FF0000\">{{ .Commit }}</font><br><b>Branch:</b> <font color=\"#00FF00f\">{{ .Branch }}</font><br><b>Build Status:</b> <font color=\"#0000ff\">{{ .Status }}</font>"
|
||||
},
|
||||
"buttons": [
|
||||
{
|
||||
"textButton": {
|
||||
"text": "Job Details",
|
||||
"onClick": {
|
||||
"openLink": {
|
||||
"url": "{{ .GitURL }}/{{ .Project }}/actions/runs/{{ .ActionID }}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue