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

有帮助吗?

解决方案

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.

其他提示

You can find userful tips on MSDN Customize the format for TFS email alerts

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top