f500 / future-ci

A Continuous Integration tool by Future500 B.V.
MIT License
3 stars 2 forks source link

Make Slack configurable from Build #19

Open mvriel opened 9 years ago

mvriel commented 9 years ago

Currently Slack is always enabled and posts all messages to the default channel that is configured with the Integration options in Slack itself.

In the future we want to be able to configure the Slack channel using the build settings for a project. This means that a new heading for Slack needs to added to the build yml file and these settings have to be passed onto the SlackSubscriber object. Here you can use the setChannel method before sending a message to provide Slack with knowledge to which channel you need to post a message.