Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Slack Notifications
-
Hi
Picked up the source from https://forums.inedo.com/topic/1254/plans-for-slack-integration?_=1604606852791 and built the extension. Followed the manual deployment instructions from https://docs.inedo.com/docs/buildmaster/reference/extensions but when I start the service/webserver, I don't see the extension in the list of extensions. Not sure how do I go about testing and setting this up.
-Sri
-
Hi @sbolisetty_3792,
What version of BuildMaster are you running? It looks like the third-party Slack extension was built using the legacy SDK and extension model, which will not work in BuildMaster 6.2.
We recently added documentation on how to POST to Micorosft Team's Webhook connectors. You could very easily adapt this to Slack by creating a new WebHook in Slack and posting to the Slack WebHook URL instead of the Teams Web Hook URL and tweaking the message text you are POSTing.
Here would be an example Slack JSON to POST:
{"text": "**BuildMaster - New Build** $ApplicationName $ReleaseNumber.$BuildNumber has completed. View it at [Build $BuildNumber]($BuildMasterUrl(release))."}
Note: $BuildMasterUrl() is only available in 6.2.21+
Hope this helps!
Thanks,
Rich