mirror of
https://github.com/grafana/grafana.git
synced 2024-12-28 18:01:40 -06:00
Add author name and pr number in drone pipeline notifications (#31124)
* Add author name and pr number in drone pipeline notifications
This commit is contained in:
parent
c01fb7efd7
commit
a18e4d8d64
@ -690,7 +690,7 @@ steps:
|
|||||||
image: plugins/slack
|
image: plugins/slack
|
||||||
settings:
|
settings:
|
||||||
channel: grafana-ci-notifications
|
channel: grafana-ci-notifications
|
||||||
template: "Build {{build.number}} failed: {{build.link}}"
|
template: "Build {{build.number}} failed for PR {{build.pull}}: {{build.link}}\nAuthor: {{build.author}}"
|
||||||
webhook:
|
webhook:
|
||||||
from_secret: slack_webhook
|
from_secret: slack_webhook
|
||||||
|
|
||||||
@ -1609,7 +1609,7 @@ steps:
|
|||||||
image: plugins/slack
|
image: plugins/slack
|
||||||
settings:
|
settings:
|
||||||
channel: grafana-ci-notifications
|
channel: grafana-ci-notifications
|
||||||
template: "Build {{build.number}} failed: {{build.link}}"
|
template: "Build {{build.number}} failed for PR {{build.pull}}: {{build.link}}\nAuthor: {{build.author}}"
|
||||||
webhook:
|
webhook:
|
||||||
from_secret: slack_webhook
|
from_secret: slack_webhook
|
||||||
|
|
||||||
@ -2511,7 +2511,7 @@ steps:
|
|||||||
image: plugins/slack
|
image: plugins/slack
|
||||||
settings:
|
settings:
|
||||||
channel: grafana-ci-notifications
|
channel: grafana-ci-notifications
|
||||||
template: "Build {{build.number}} failed: {{build.link}}"
|
template: "Build {{build.number}} failed for PR {{build.pull}}: {{build.link}}\nAuthor: {{build.author}}"
|
||||||
webhook:
|
webhook:
|
||||||
from_secret: slack_webhook
|
from_secret: slack_webhook
|
||||||
|
|
||||||
@ -3309,7 +3309,7 @@ steps:
|
|||||||
image: plugins/slack
|
image: plugins/slack
|
||||||
settings:
|
settings:
|
||||||
channel: grafana-ci-notifications
|
channel: grafana-ci-notifications
|
||||||
template: "Build {{build.number}} failed: {{build.link}}"
|
template: "Build {{build.number}} failed for PR {{build.pull}}: {{build.link}}\nAuthor: {{build.author}}"
|
||||||
webhook:
|
webhook:
|
||||||
from_secret: slack_webhook
|
from_secret: slack_webhook
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ def slack_step(channel):
|
|||||||
'from_secret': 'slack_webhook',
|
'from_secret': 'slack_webhook',
|
||||||
},
|
},
|
||||||
'channel': channel,
|
'channel': channel,
|
||||||
'template': 'Build {{build.number}} failed: {{build.link}}',
|
'template': 'Build {{build.number}} failed for PR {{build.pull}}: {{build.link}}\nAuthor: {{build.author}}',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user