Skip to content

Commit 76aa253

Browse files
author
Amir Moualem
authored
Merge pull request #383 from snyk/chore/link-to-circleci-job
Chore/link to circleci job
2 parents 6489051 + d7c4dfb commit 76aa253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/slack-notify-failure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
BRANCH_NAME="$1"
44
NOTIFICATION_COLOR=${2:-#EE0000}
55

6-
curl -X POST -H 'Content-Type:application/json' -d '{"attachments": [{"color": "'$NOTIFICATION_COLOR'", "fallback": "Build Notification: '$CIRCLE_BUILD_URL'", "title": ":warning: Kubernetes-Monitor Merge Failure :warning:", "text": ":egg_broken_1: Kubernetes-Monitor broken branch: `'$BRANCH_NAME'` :egg_broken_1:"}]}' $SLACK_WEBHOOK
6+
curl -X POST -H 'Content-Type:application/json' -d '{"attachments": [{"color": "'$NOTIFICATION_COLOR'", "fallback": "Build Notification: '$CIRCLE_BUILD_URL'", "title": ":warning: Kubernetes-Monitor Merge Failure :warning:", "text": ":egg_broken_1: Kubernetes-Monitor broken branch: `'$BRANCH_NAME'` :egg_broken_1:\n'$CIRCLE_BUILD_URL'"}]}' $SLACK_WEBHOOK

0 commit comments

Comments
 (0)