Chore: Update drone pipeline failure message to include target branch (#35170)

This commit is contained in:
Dimitris Sotirakis
2021-06-03 14:09:53 +02:00
committed by GitHub
parent 0b94f33813
commit 56e0efbb56
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ def slack_step(channel):
'settings': {
'webhook': from_secret('slack_webhook'),
'channel': channel,
'template': 'Build {{build.number}} failed for commit: <https://github.com/{{repo.owner}}/{{repo.name}}/commit/{{build.commit}}|{{ truncate build.commit 8 }}>: {{build.link}}\nAuthor: {{build.author}}',
'template': 'Build {{build.number}} failed for commit: <https://github.com/{{repo.owner}}/{{repo.name}}/commit/{{build.commit}}|{{ truncate build.commit 8 }}>: {{build.link}}\nBranch: <https://github.com/{{ repo.owner }}/{{ repo.name }}/commits/{{ build.branch }}|{{ build.branch }}>\nAuthor: {{build.author}}',
},
}