Filtering Build Completion Emails

Firstly, I know I’ve been quiet for a while, I’ve been working on a few things, enhancements to our build system, a presentation on the Migration and Synchronisation toolkit (will be posted shortly) and I have started work on a book about Team Build.

After receiving a large number of build completion emails that I wasn’t interested in I decided to filter these emails. The following command (which requires BisSubscribe.exe from the Visual Studio SDK) will restrict the build completion emails to all completion emails for builds you started but only build failures or stopped builds for other people’s builds.

BisSubscribe.exe /eventType BuildCompletionEvent /address <EmailAddress> /deliveryType EmailHtml
/server <TeamFoundationServer> /filter “RequestedBy=’<Domain>\<Username>’ OR CompletionStatus=’Failed’ OR CompletionStatus=’Stopped’”

Jason Pricket has a good post explaining the filters available for the BuildCompletionEvent.