A build/release task to post a messsage to Slack, even multiple times in the same build/release
The build task included will allow you to post a message in Slack.
- 2017/11/11 (v2.0.8): fix message formatting
- 2017/10/21 (v2.0.1):
Added support for Node execution
Added flag option to force succeed even if the message cannot be sent
- Now support \n as carriage return in the message
- Added icon url to display a custom icon in front of the message (ideally 128x128 px)
Getting a Slack token
Go here and ask for a test token.
Message author: this is the name that will appear as the message author in Slack
Message: the message to post. You can use basic Slack formatting
Slack Api token: the Slack Api token that you can get from here. For testing purpose, you can ask for a test token here
Channel: the channel on which to post the message. It can be a public, private or user channel (eg. #prv, @johnsmith)
Icon Url: specify the full path to an icon (ideally 128x128 px)
As an example, the parameters in the screenshot above will ersult in the following post into Slack: