Hugo Häggmark

Sagas from the software trenches in the continuing battle between quality, price and time…

26 September 2010

End to end TFSBuild pattern for BizTalk 2009, part 1 (Environment)

by Hugo Häggmark

If you read my earlier blog post about a mysterious error from BTSTask you already know that I’m currently helping a customer with automated TFS 2008 builds for BizTalk 2009, if you haven’t read my earlier post here’s your chance.

Environment

Firstly you’ll have to setup some sort of build server and there’s at least 3 ways you can do this:

I typically skip the first option because it usually end up in me having to write some kind of remote execution scripts (PSExec) or starting the scripts with timer jobs. Either way the overall build pattern turns out more complex than it needs to be or managing the build (yes you will be managing your builds) will be harder.

The second option would be the top choice for me if the customer has TFS 2010 and Lab Management in place. I know there are virtualization options for TFS 2008 but I’ve never user them myself.

So this leaves my with the option to have the “build BizTalk server” and the build server on the same box which makes it a lot easier.

Remember that you’ll need to install and configure the BizTalk server and remember to install/configure these options during the installation of the BizTalk server:

When the BizTalk server is installed and configured you’ll need to make/configure these options:

As a common practice I always create a Hello World build type to test that my build server is working correctly before moving on with any advanced build patterns with automatic deploy for instance.

Hope you’ll enjoy this first part of the series!

Hugo

tags: BizTalk - Development Environment - Team Build - Team Foundation Server