File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ failureHandlers:
2020 script : |
2121 cat <<EOF > slacknotify.json
2222 {
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 "
2424 }
2525 EOF
2626 curl -X POST -H 'Content-type: application/json' --data "@slacknotify.json" $SLACK_WEBHOOK
7171 user : iceci
7272 imageName : example-go-webapp
7373 tags :
74- - " {{ ICE_BUILD_NUMBER }}"
74+ - " {{ ICECI_BUILD_NUMBER }}"
7575 - latest
7676
7777 # comment this step out if you do not want to integrate this pipeline with slack
8181 script : |
8282 cat <<EOF > slacknotify.json
8383 {
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!"
8585 }
8686 EOF
8787 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