TFS Deployer Patches

April 4, 2008 at 9:56 pm | In Team Foundation Server |

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 :)

2 Comments »

RSS feed for comments on this post. TrackBack URI

  1. 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,

    Comment by Jason Stangroome — April 5, 2008 #

  2. Thanks Grant! I thought I would get an e-mail notification but I didn’t!

    Comment by Mitch Denny — April 12, 2008 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.