TFS2010: Attach Build log to mail notification RRS feed

  • Question

  • Hi!

    We are using TFS 2010.

    Is it possible to attach the buildlog.txt to the build notification email (instead of just providing the link).






    Wednesday, November 23, 2011 7:48 AM


  • No, you can only modify the layout of the mail by modifying the XSL stylesheet that is used to generate the mail body.

    The stylesheets are located here:
    C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\TFSJobAgent\Transforms


    If you want to add more information to the mail, you need to do this by writing a custom web service and set up a subscription for the BuildCompletedEvent2 event and have it call your web service.

    Have a look at this post for an explanation of how this is done:

    Hope that helps

    Microsoft Community Contributor Award 2011
    Blog: http://geekswithblogs.net/jakob
    Twitter: http://twitter.com/jakobehn
    • Marked as answer by jus71 Wednesday, November 23, 2011 2:06 PM
    Wednesday, November 23, 2011 2:05 PM