A configurable TeamCity plugin that notifies your symphony 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.)
-
Download the plugin zip package.
-
Follow the TeamCity plugin installation directions.
- In order for notifications to work, we need give TeamCity our bot and pod details.
- Choose "Symphony Notifier" from the Administration Menu in TeamCity.
- Enter the bot details. Usually, you will only need to enter the common name, email and the private key of your bot. However, some environments additionally require the use of bot certificates. Add these in if needed.
-
Set the Endpoint Details. You will need to provide URLs for the various endpoints of symphony. Examples are given, it's usually only necessary to change the host part of the URL to your pod. However, in some corporate environments, you may need a proxy to access symphony, or you might be running the agent or keymanager on an internal URL. Enter these here.
-
Save the Page. Your connection details will be tested.
-
Trust Manager Details. If your organisation is running with some bizarre certificates for symphony, you can enter these in the box provided, to allow TeamCity to trust the Symphony servers. This probably won't be used very often.
-
Templates: You can supply your own FreeMarker template here, which you can design in MessageML using The Renderer Tool. Leave the box blank to use the default.
Once you have configured the bot, you need to set up the notifier for your user. Go to "My Settings And Tools" -> Notification Rules, and you should see the Symphony Notifier listed.
You will need to supply your stream ID. You can get this by:
- Create a new room or chat with the TeamCity Bot (you set up in the admin details, above)
- Send a message in the room
- Click on the time of the message to pop up the below window:
- Copy the "Conversation ID" out of this field, and place into the TeamCity configuration screen.