scripting - Script to send email notification in Teamcity -
Teamcity builds green and red when I need to send an email to a particular group Any ideas in?
There are some teamcity plugins that you can benefit from but the most promising job If you are tracking, you may have to prepare a job when you complete every build for that project, this build will do the following:
- Call for the final status of the build project. For reference, replace "insert-base-url-here" with your teamic base URL; "BtXXX" from your build id
http: // {insert-base-url-here} / app / rest / builds / buildType: (id: btXXX) / statusIcon
- Save the result of this call in DB or in a txt file
- For every subsequent call, check to see if the new value is the same as the previous one; If they do not send an email if the values do not match then proceed to the four steps
- In the recipient / distribution list, inform an email about the change in position in the build position.
My personal priority is to do all this in a single Nand script, but it is to take those steps.
You can also view build-states tool (Build-Stats.AppSpot.com) which should be setup and displayed in a highly visible area, which your team will not miss, should be there.
Comments
Post a Comment