I'm trying to get our Quickbuild server to send build notifications to a Slack channel.
We set up an Slack webhook endpoint. I confirmed that Posts to the endpoint will post to the Slack channel by calling curl from our Quickbuild server:
curl -X POST -H 'Content-type: application/json' --data '{"text":"Hello, world"}' https://hooks.slack.com/services/<hook_path_here>
I then configured the QuickBuild "Webhooks" with the Slack endpoint I tested earlier, per the attached image.
When I kick a build, however, I do not see any Slack posts. I check the Quickbuild server logs and saw that the server did appear to POST to the webhook endpoint, but that the POST failed.
ERROR - Unable to post data to webhook https://hooks.slack.com/services/stuff/morestuff due to no_text
The no_text error is returned by Slack API when it does not detect any message text in webhook POST.
Is there anything else I need to do to configure this Quickbuild WebHook plugin? I don't see a place to configure a Notification Template, like you can for Email/Jabber notifications. Also the Misc/Webhooks listing in the Plugin Admin screen doesn't have a "Configure" Operation link like it does for some other plugins.
Just checking if there are any other steps I need to perform to ensure Quickbuild includes text in the build notification.
Thanks!
Greg
Prophecy Games, Inc.