Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I set up Teamcity to Email out a Release note?

I have a TeamCity server that builds my application and a YouTrack instance set up to track my feature requests/bugs. I have the TeamCity/YouTrack integration setup so the Issue log correctly fills out in TeamCity with the Items that have been closed in YouTrack since the last successful build. How can I set up TeamCity to email a user a nicely formatted email that contains this list of Issues?

like image 772
PlTaylor Avatar asked Dec 05 '13 19:12

PlTaylor


People also ask

How to setup Email notification in TeamCity?

Following are the steps to set up email notifications in TeamCity. Step 1 − In TeamCity, go to your Project dashboard, click on Administration in the top right hand corner. You will then see the Email Notifier link in the left hand side. Click on this link to bring up the general settings for Email.

What is build feature in TeamCity?

A build feature is a piece of functionality that can be added to a build configuration to affect running builds or reporting build results. The Build Configuration Settings | Build Features page displays the configured features and allows you to manage them.


1 Answers

this answer has been adopted from here

  • Open TeamCity in your browser.
  • Browse to Administration > User Management- Groups > All Users
  • Select the tab Notification Rules (you see the Email notifier rules by default)
  • Click on Add new rule
  • Select Builds from the selected build configuration and choose the builds you want notifications for
  • On the right hand side where it says Send notification when tick Build is successful
  • press Save

You should now get an email which has a summary of the changes, eg

Build Compilation :: myproject #2.0. successful (Tests passed: 1288)

Agent: buildagent-01

Changes included: 1 change.

Change 02b88b1b1345 by wturner (1 file): bug1 fixed

like image 98
wal Avatar answered Sep 27 '22 16:09

wal