Skip to content
This repository was archived by the owner on May 10, 2018. It is now read-only.

Adds Discord Notifications#562

Closed
night wants to merge 1 commit intotravis-ci:masterfrom
night:master
Closed

Adds Discord Notifications#562
night wants to merge 1 commit intotravis-ci:masterfrom
night:master

Conversation

@night
Copy link

@night night commented Oct 10, 2016

This pull request adds the ability to send build status updates to Discord via webhooks.

The configuration format looks like the following:

notifications:
  discord:
    channels:
      - [webhook_id]:[webhook_token]
      - [webhook_id_2]:[webhook_token_2]
    pull_request_template:
      - 'Build [#%{build_number}](%{build_url}) ([%{commit}](%{compare_url})) of %{repository}@%{branch} in PR [#%{pull_request_number}](%{pull_request_url}) by %{author} %{result} in %{duration}'
    branch_template:
      - 'Build [#%{build_number}](%{build_url}) ([%{commit}](%{compare_url})) of %{repository}@%{branch} by %{author} %{result} in %{duration}'

Related PRs:
travis-ci/travis-hub#84
travis-ci/travis-tasks#71

@Arzte
Copy link

Arzte commented Feb 16, 2017

This pr's build was broken by a dependency error.

@night
Copy link
Author

night commented Feb 17, 2017

@TheDoctorsLife you don't say.. check #565 for the unmerged fix for that

@BanzaiMan
Copy link
Contributor

This PR is no longer necessary for adding notifications.

@BanzaiMan BanzaiMan closed this Feb 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants