Skip to content
This repository was archived by the owner on Jul 28, 2020. It is now read-only.

Commit af23886

Browse files
authored
Merge pull request #68 from StackStorm/feature/slack-notifications
Add Slack notifications on CI failures
2 parents 009fdbb + 59ef4b7 commit af23886

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,12 @@ script:
3030
- /opt/chefdk/bin/foodcritic --version
3131
- /opt/chefdk/bin/kitchen --version
3232
- KITCHEN_LOCAL_YAML=.kitchen.docker.yml /opt/chefdk/bin/chef exec rake ${SUITE}
33+
34+
notifications:
35+
# Post build failures to '#chef' channel in 'stackstorm-community' Slack
36+
slack:
37+
rooms:
38+
- secure: O+o2FvLubrlKelWc1uvtcpLZgyQIBOoRGepZH2eKeguinGiXqaic0GK5KUthFdJJtmn3uT+brGyug08wgmSQKa+VoFEPJwHCIYTL2ZnGoggtJcbv8FU0c2sa1DJ1gSH4Q8PGzuwKuW67ExfYQYPwciyJ3RjmoYoIouB1pbqwmgk=
39+
on_pull_requests: false
40+
on_success: change # default: always
41+
on_failure: always # default: always

0 commit comments

Comments
 (0)