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:

  1. 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

  1. Save the result of this call in DB or in a txt file
  2. 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
  3. 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

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -