Skip to content

enlivenhq/teamcity-slack

Repository files navigation

teamcity-slack

Build Status

A configurable TeamCity plugin that notifies your Slack channel. Because it is a TeamCity Custom Notifier plugin, it extends the existing user interface and allows for easy configuration directly within your TeamCity server. Once installed, you can configure the plugin for multiple TeamCity projects and multiple build conditions (i.e. Build failures, successes, hangs, etc.)

Installation

Download the plugin zip package.

Follow the TeamCity plugin installation directions.

Configuration

Create an incoming webook in Slack.

Pick a Slack channel to notify on build events.

Pick a Slack username to use for automated notifications.

Copy the URL for the webhook.

As an admin, Navigate to your TeamCity profile page ("My Settings & Tools") and click "Edit".

Enter the channel name, username, and full webhook URL in the Notification settings as seen below.

Add notification rules as appropriate.

Configuration Example

Configuration Settings

Warning

Tested mostly with TeamCity version 8.1.1 but we've definitely seen lots of folks using it with newer version as well.

Contributors

Jesse Dunlap

Andrew Clark

[cy6erskunk] (https://github.com/cy6erskunk)

Ian Robinson

License

MIT