Private channel support for Slack notifications
<p>In January, we introduced <a href="https://slack.com">Slack</a> notifications for build statuses in public channels. This week, we are happy to announce that we also support Slack notifications for private channels as well!</p><figure class="tmblr-full" data-orig-height="762" data-orig-width="1744"><img src="https://66.media.tumblr.com/0031b1c16f20550e8cce62d5d2349b51/tumblr_inline_pe56eucDdT1uvhog4_540.png" data-orig-height="762" data-orig-width="1744"/></figure><h2>Usage for a Screwdriver.cd User</h2><p>Slack notifications can be configured the exact same way as before, but private repos are now supported.</p><!-- more --><p>First, you must invite the Screwdriver Slack bot (most likely <code>screwdriver-bot</code>), created by your admin, to your Slack channel(s). Then, you must configure your <code>screwdriver.yaml</code> file, which stores all your build settings:</p><pre><code>settings:
slack:
channels:
- channel_A # public
- channel_B # private
statuses: # statuses to notify on
- SUCCESS
- FAILURE
- ABORTED
</code></pre><p><code>statuses</code> denote the build statuses that trigger a notification. The <a href="https://github.com/screwdriver-cd/data-schema/blob/c2ea9b0372c6e62cb81e1f50602b751d0b10d547/models/build.js#L83-L96">full possible list of statuses to listen on</a> can be found in our data-schema. If omitted, it defaults to only notifying you when a build returns a <code>FAILURE</code> status.</p><p>See our previous <a href="http://blog.screwdriver.cd/post/170047958142/sending-slack-notifications-for-screwdriver-build">Slack blog post</a> and Slack <a href="https://docs.screwdriver.cd/user-guide/configuration/settings#slack">user documentation</a> and <a href="https://docs.screwdriver.cd/cluster-management/configure-api#notifications-plugin">cluster admin documentation</a> for more information.</p><h2>Compatibility List</h2><p>Private channel support for Slack notifications requires the following minimum versions of Screwdriver:</p><ul><li><a href="https://hub.docker.com/r/screwdrivercd/screwdriver">screwdrivercd/screwdriver</a>: v0.5.451</li>
</ul><h2>Contributors</h2><p>Thanks to the following people for making this feature possible:</p><ul><li><a href="https://github.com/tkyi">tkyi</a></li>
</ul><p>Screwdriver is an open-source build automation platform designed for Continuous Delivery. It is built (and used) by Yahoo. Don’t hesitate to reach out if you have questions or would like to contribute: <a href="http://docs.screwdriver.cd/about/support">http://docs.screwdriver.cd/about/support</a>.</p>