Share via


Team Build RSS Feed

<Update: After some complains that it is difficult to cut paste code out of the blog, I have zipped and placed the source here >
<Update: Fixed so that you no longer need to copy the Microsoft.TeamFoundation.Build.Common.dll. Thanks to a Watson bug we got to this>

A lot of programmers have the disease of trying to code everything for themselves. Sometime back I had a bout of the same disease.

We wanted a tool which would notify the user when a Team Build is fired/completed. Having used bug-tracker tools before which polls bug databases and shows pop-up notifications I immediately got excited and wrote my own super-mutithreaded application called BuildTicker. It could do all the fancy things like track multiple Team Foundation Servers in different threads and show translucent pop-ups like Outlook 2003, had fancy owner-drawn UI. I even made the tool extendable so that I can plugin a bug-tracker for Team Foundation work-item tracking in future. All the while I kind of missed the point that all we need is a way to syndicate the information and rarely there is a way better than using existing technology and standards. JeffLu's source control RSS feed kind of got me to my senses. So here I am with a RSS feed for team build. This kind of retires the fancy BuildTicker I wrote before....

How to use

  1. Unzip the sources into Team Foundation Server folder as in %Program Files%\Microsoft Team Foundation 2005\Web Services\Build\v1.0
  2. Add people whom you want to be able to see the feed in the Reader group for the team project.
  3. Use a feed reader like RSS Bandit which supports windows authentication. And for the feed url use https://<TFSServer>:<port>/Build/v1.0/rss.aspx?TeamProject=ProjectName replace the part marked in blue with your TFS and project name

The Source

<removed: Use the link to the source zip above >

Note:

This feed reader does not have the DOS attack blocker as in Jeff's feed reader....

TeamBuildRssFeed.zip

Comments

  • Anonymous
    December 20, 2005
    Believe me - I know how you would have felt when you saw the RSS feed. I have had instances of my tools being redundated with something far more elegant! :)
    However, writing your own tools gives cheap thrills - fun to write and dispensable! :) Let the DIY tools roll...

  • Anonymous
    December 28, 2005
    Hi Abhinaba,

    Thanks for posting this great feed it is going to be very useful. I have encountered one problem though....
    I have followed your instructions but my RSS reader reports a failure with the feed. I have modified the web.config file in the Build folder and attempted to browse directly to the rss.aspx file. The browser reports
    "Compiler Error Message: CS0234: The type or namespace name 'Common' does not exist in the namespace 'Microsoft.TeamFoundation.Build' (are you missing an assembly reference?)"

    Any ideas?
    Thanks
    Anthony

  • Anonymous
    December 28, 2005
    Hi Anthony,

    This wroks fine on the latest bits. Which build are you using??
    Can you check to see if the file Microsoft.TeamFoundation.Build.Common.dll is present in the web servicesBuildbin folder.

    I have sent you a message thru your blogs contact. Drop me an email and I'll try to get the thing working in your setup....

  • Anonymous
    January 03, 2006
    Mine also states that 'Common' does not exist.
    This is TFS Beta3 Refresh.

    Exception message: c:Program FilesMicrosoft Visual Studio 2005 Team Foundation ServerWeb ServicesBuildv1.0rss.aspx(34): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'Microsoft.TeamFoundation.Build' (are you missing an assembly reference?)

  • Anonymous
    January 03, 2006
    For now please search for Microsoft.TeamFoundation.Build.Common.dll in your AT inside the folder
    <Program Files>Microsoft Visual Studio 2005 Team Foundation ServerWeb Services

    and then copy it to
    c:Program FilesMicrosoft Visual Studio 2005 Team Foundation ServerWeb ServicesBuildbin

    I'll fix this in the next release of the feed...

  • Anonymous
    January 09, 2006
    Anthony Borton helped me out a lot in getting the Rss feed generator up and ready. He also let me know it was not working on Beta 3 release. Check out his blog where he has posted tips and my fix of the feed for beta 3 TFS release
    http://myvstsblog.com/archive/2006/01/09/90.aspx

  • Anonymous
    January 16, 2006
    Is your date conversion correct? (should be in format specified by RFC 822)

    you do: pubDate.ToString()

    I think you need:
    pubDate.ToUniversalTime().ToString(@"ddd, dd MMM yyyy HH:mm:ss GMT");

    Here's my version:
    http://blogs.msdn.com/jmstall/archive/2006/01/14/rsswriter.aspx

  • Anonymous
    January 16, 2006
    Mike you are right, I got it wrong and all the while I was seeing the wrong published date on my feed reader but never noticed it :(

    I just fixed this

  • Anonymous
    January 18, 2006
    I had put up a comment that to get this to work you need to copy one assembly Microsoft.TeamFoundation.Build.Common.dll to the bin folder. I have fixed the code now so that you need not do it now....

  • Anonymous
    February 07, 2006
    One of my goals this week has been to round out my TFS installation with a couple of extras that the...

  • Anonymous
    August 09, 2006
    If you'd like to be more in touch with your Team Foundation Build server using something other than Team...

  • Anonymous
    August 09, 2006
    Abhinaba Basu&amp;nbsp;posted his second Team Build power toy build notification app.&amp;nbsp; Previously he...

  • Anonymous
    October 21, 2006
    There is a lot of useful free utilities for Team System you can find spread all over the web. Some of

  • Anonymous
    March 10, 2007
    [EDIT] I neglected to mention that I received this listing from a colleague on the day I posted it. But

  • Anonymous
    March 11, 2007
    A dump, of various tools, thanks to Zeeshan Shah. Note: this is not an endorsed list. Utilities Team

  • Anonymous
    August 05, 2007
    Team Build is great, with its tight integration into the WorkItem tracking feature of TFS. It can be

  • Anonymous
    October 12, 2008
    Hello All, Can you please guide me for  the modfication of the SOurce Code as i am not the C sharpe developer.I want to modify the source code which can give me more details....Is there any one who can help me in modification..Please let me know...It will be greatfull Regards, Saurabh