This Question is Answered

1 "correct" answer available (4 pts) 1 "helpful" answer available (2 pts)
5 Replies Last post: Apr 23, 2010 6:25 AM by Salva Maiorano  
Geir-Tore Lindsve Newbie 22 posts since
Nov 6, 2007
Currently Being Moderated

Feb 2, 2010 9:47 AM

Include "Responsibility Changed" events in the syndication feeds

Hi,

 

Is it possible to add "Responsibility Changed" events to the syndication feeds in TeamCity?

 

I'm using the syndication feeds to trigger a USB LED lamp (red/green) based on build results and would love to trigger it blue when someone takes responsibility for a build failure.

Maxim Podkolzine JetBrains 193 posts since
Dec 17, 2008
Currently Being Moderated
Feb 8, 2010 9:15 PM in response to: Geir-Tore Lindsve
Re: Include "Responsibility Changed" events in the syndication feeds

Hi,

 

No, it is not supported yet. You can file a feature request in our tracker (http://youtrack.jetbrains.com/).

Alternatively, you can trigger a lamp via TeamCity notifications (as how we do actually =)

 

 

---

Maxim

Maxim Podkolzine JetBrains 193 posts since
Dec 17, 2008
Currently Being Moderated
Feb 9, 2010 11:43 AM in response to: Geir-Tore Lindsve
Re: Include "Responsibility Changed" events in the syndication feeds

To use notifications you need to implement a Notificator interface (http://javadoc.jetbrains.net/teamcity/openapi/current/jetbrains/buildServer/notification/Notificator.html) and register it in TeamCity.

The methods of a Notificator are called when certain events in system occur; you can send a HTTP request, or any other remote call in them.

Here are several links to third-party notifiers, could serve you as an example: http://confluence.jetbrains.net/display/TW/TeamCity+Plugins

 

As to our "lamps", we use traffic light =).

Here's a short video about how we tested it: http://www.youtube.com/watch?v=Y4SNj5ngXXE

The final configuration is a bit different. There is a simple web-server that can turn on any light, and main the notificator sends HTTP requests to it.

 

 

---

Maxim

Salva Maiorano Newbie 6 posts since
Feb 18, 2009
Currently Being Moderated
Apr 23, 2010 6:25 AM in response to: Maxim Podkolzine
Re: Include "Responsibility Changed" events in the syndication feeds

i needed the same responsible info for the rss feed

i created a new request, since i did not find it one:

http://youtrack.jetbrains.net/issue/TW-11814?projectKey=TW&query=rss+Responsibility

More Like This

  • Retrieving data ...