Open scrthq opened 6 years ago
Do I understand correctly that adding AppVeyor built-in webhook notification with custom body is working approach for now?
@IlyaFinkelshteyn Your understanding is correct; it's working without issue using the custom body with the built-in webhook notification. I'm pretty invested in the Google Chat API, so building the custom body wasn't too difficult for me, but having it as a built-in notification option (similar to Slack) would enable others who want plug-and-play notification setup for Google Chat to do just that as well.
Google Chat (aka the new version of Hangouts) supports Webhooks and card format messages. I've tested adding as a custom Webhook with the following custom body and it works great for webhook notifications to Google Chat.
The only thing AppVeyor users would need to configure is the Webhook for the Space they want to post the messages in. Directions for adding Webhooks in Google Chat can be found here: https://developers.google.com/hangouts/chat/how-tos/webhooks
Appearance in Google Chat:
Alternative body displaying commit message wrapped in code block:
Appearance with this body: