Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

crazy-max/rocketchat-appveyor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Become a sponsor Donate Paypal

โš ๏ธ Abandoned project

This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.

Thanks to everyone for their valuable feedback and contributions.

About

Add AppVeyor notifications via a new WebHook in Rocket.Chat.

Receive alerts

  1. Create a new Incoming WebHook
  2. Select the channel where you will receive the alerts. You may wish to create a dedicated channel for your notifications.
  3. Select an account from which the alerts will be posted. You may wish to create a dedicated account just for notifications.
  4. Set the "Enable Scripts" option to True.
  5. Copy content of appveyor-incoming.js in Script field.
  6. Save the integration. This will generate a webhook URL and secret for you.
  7. In your appveyor.yml file add webhook parameter with webhook URL generated.
notifications:
  - provider: Webhook
    url: <webhook_url>
    method: post

It's highly suggested, for security reasons, to encrypt the URL with the configuration encryption tool provided by AppVeyor :

notifications:
  - provider: Webhook
    url:
      secure: <encrypted_webhook_url>
    method: post

This script will generate notifications for the following build events:

  • Build completed / failed status for any pushed code
  • Build completed / failed status for new Pull Request

Screenshot of messages generated by AppVeyor integration script

Note: If status is completed, message color is green otherwise it is red.

If you want more customizations, please look in AppVeyor documentation: https://www.appveyor.com/docs/notifications/#webhooks

How can I help ?

All kinds of contributions are welcome ๐Ÿ™Œ! The most basic way to show your support is to star ๐ŸŒŸ the project, or to raise issues ๐Ÿ’ฌ You can also support this project by becoming a sponsor on GitHub ๐Ÿ‘ or by making a Paypal donation to ensure this journey continues indefinitely! ๐Ÿš€

Thanks again for your support, it is much appreciated! ๐Ÿ™

License

MIT. See LICENSE for more details.