TFS Deployer Patches
Recently I’ve been working with TFS Deployer and I’ve needed it to work in a slightly different way.
Fortunately Mitch set it free and it’s an open source project hosted on Codeplex which allows me to make my own changes and submit the patches for inclusion into the main distribution.
Patch ID #929 - Update to support different TFSBuild.proj path in TFS2008
TFS 2008 allows the Team Build project file (TFSBuild.proj) to be in a path other than $/TeamProject/TeamBuildTypes/<Build Name>/TFSBuild.proj.
This patch connects to the IBuildServer service, and gets the location of TFSBuild.proj from buildDefinition.ConfigurationFolderPath. (See Orcas Object Model documentation)
This patch doesn’t break backwards compatibility with TFS2005, but allows the /Deployment/ folder to be a sub-folder of the location of TFSBuild.proj - wherever it is.
Patch ID #1073 - Update to support multiple email recipients
Sometimes it is necessary to notify multiple people about a deployment & it’s not possible to create a distribution list for doing so.
This is a patch to /Alert/EmailAlerter.cs that enables support for multiple recipient email addresses separated by semi-colons in the NotificationAddress setting in DeploymentMappings.xml.
e.g.
<Mapping xmlns=”"
Computer=”AnotherBuildServer”
OriginalQuality=”Under Investigation”
NewQuality=”Ready for Deployment”
Script=”PrepareForDeployment.cmd”
RunnerType=”BatchFile”
NotificationAddress=”release.manager@domain.com;team.lead@domain.com” />
Enjoy! Hope this helps and if I’m lucky, the maintainers might even accept my patches into the mainline
Update: The patches have been accepted into the mainline by Jason. It turns out they didn’t know there were any patches waiting
Filed under: Team Foundation Server |
2 Responses to “TFS Deployer Patches”
Leave a Reply
Search
You are currently browsing the Grant Holliday weblog archives.
Hi Grant,
Your patches have been integrated into the trunk. I didn’t realise you had submitted them until I read this blog post. Hopefully I’ve corrected my CodePlex settings to be notified for next time.
Regards,
Thanks Grant! I thought I would get an e-mail notification but I didn’t!