File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change 3131 working_directory : " IMAGE_WORK_DIR"
3232 commands :
3333 - pytest
34- sendSlack :
35- title : " Alert on success"
34+ sendSlackSuccessToPagesActiveLearning :
35+ title : " Alert on success to pages active learning "
3636 type : slack-message-sender
3737 arguments :
3838 WEBHOOK_URL : " ${{slack_webhook_url}}"
@@ -41,6 +41,26 @@ steps:
4141 condition :
4242 all :
4343 succeeded : e2e_test.result == 'success'
44+ sendSlackFailureToE2E :
45+ title : " Alert on failure to e2e channel"
46+ type : slack-message-sender
47+ arguments :
48+ WEBHOOK_URL : " ${{slack_webhook_e2e}}"
49+ MESSAGE : " SDK Tests have failed-- ${{CF_BUILD_URL}}"
50+ when :
51+ condition :
52+ all :
53+ failed : e2e_test.result == 'failure'
54+ sendSlackFailureToDeployProd :
55+ title : " Alert on failure to deployments prod channel"
56+ type : slack-message-sender
57+ arguments :
58+ WEBHOOK_URL : " ${{slack_webhook_deployments_prod}}"
59+ MESSAGE : " SDK Tests have failed-- ${{CF_BUILD_URL}}"
60+ when :
61+ condition :
62+ all :
63+ failed : e2e_test.result == 'failure'
4464 check_for_failures :
4565 image : alpine
4666 commands :
You can’t perform that action at this time.
0 commit comments