Search code examples
buildtfstfsbuildbuild-definition

Customize the format for TFS 2012 Build email alerts


I am trying to customize the build email alerts in TFS 2012.

I tried editing the files BuildCompletedEvent.xsl and BuildCompletionEvent.xsl in the following location
C:\Program Files\Microsoft Team Foundation Server\Application Tier\TFSJobAgent\Transforms\1033

for testing I changed the message "Succeeded" to "Succeeded 12345" in the files

Then I restarted the service, and ran a build. But, still my changes are not getting reflected.

Mail coming with message as "Succeeded" but not the new message.

Where I was wrong...?


Solution

  • As per my comment, you need to change the template file on the TFS Application Server(s), the build agents notify the Application Server of the completed event and that sends the alert.