File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ failureHandlers:
20
20
script : |
21
21
cat <<EOF > slacknotify.json
22
22
{
23
- "text" : "Build $ICE_BUILD_NUMBER on branch $ICE_GIT_BRANCH_NAME failed on step $ICE_FAILED_STEP_NAME commited by $ICE_GIT_AUTHOR_NAME "
23
+ "text" : "Build $ICECI_BUILD_NUMBER on branch $ICECI_GIT_BRANCH_NAME failed on step $ICECI_FAILED_STEP_NAME commited by $ICECI_GIT_AUTHOR_NAME "
24
24
}
25
25
EOF
26
26
curl -X POST -H 'Content-type: application/json' --data "@slacknotify.json" $SLACK_WEBHOOK
71
71
user : iceci
72
72
imageName : example-go-webapp
73
73
tags :
74
- - " {{ ICE_BUILD_NUMBER }}"
74
+ - " {{ ICECI_BUILD_NUMBER }}"
75
75
- latest
76
76
77
77
# comment this step out if you do not want to integrate this pipeline with slack
81
81
script : |
82
82
cat <<EOF > slacknotify.json
83
83
{
84
- "text" : "Build $ICE_BUILD_NUMBER on branch $ICE_GIT_BRANCH_NAME finished successfully!"
84
+ "text" : "Build $ICECI_BUILD_NUMBER on branch $ICECI_GIT_BRANCH_NAME finished successfully!"
85
85
}
86
86
EOF
87
87
curl -X POST -H 'Content-type: application/json' --data "@slacknotify.json" $SLACK_WEBHOOK
You can’t perform that action at this time.
0 commit comments