diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2013-01-06 18:45:43 -0800 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2013-01-07 15:16:15 -0800 |
commit | 43a8cf5f902e0f0a4afed55833fbfc85bfaeff02 (patch) | |
tree | be5c4f754e4b6074d4934567554fc5556de8c416 | |
parent | 2da85fa3a5f7ef94ec42cc300f51619bd5819ffb (diff) |
Tell Travis CI to notify the PDC WebHook
Without this patch the so-called "puppet development community" hook
service isn't being notified when Travis CI accepts jobs. This is a
problem because we want the ability for Travis Bot to comment on pull
requests as a result of CI build results. For example, if the build
fails, then Gepetto Bot could make some helpful suggestions on how to
re-run the build by amending a commit and force-pushing the branch.
This patch uses the notifications section of the travis.yml
configuration file, as documented at:
http://about.travis-ci.org/docs/user/notifications/#Webhook-notification
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 529afbf..2a9df63 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,3 +18,10 @@ matrix: env: PUPPET_GEM_VERSION="~> 2.7" - rvm: ruby-head env: PUPPET_GEM_VERSION="~> 2.7" +notifications: + webhooks: + urls: + - https://puppet-dev-community.herokuapp.com/event/travis-ci/ + on_success: always + on_failure: always + on_start: yes |