Continuous Integration Service for TFS 2005 - supporting builds per sub folder
Hi
Unlike TFS 2008, Continuous Integration service is not included in TFS 2005, and a solution is provided by microsoft here:
http://msdn2.microsoft.com/en-us/library/ms364045(VS.80).aspx .
We download the binaries, create the CI virtual directory, fix the web.config file, and activate bissubscribe.exe.
Is that all? Well, not exactly.
This solution works well only if we use a single continuous Integration build for our team project.
But what if we wish to have many continuous Integration builds, one build for a separate sub folder in TFS?
Well, In this case, we have a problem.
But this problem has a solution:
Benjamin Day provides us an alternative CI that supports many builds:
http://blog.benday.com/archive/2007/11/19/23167.aspx .
For those of us who already installed the previous solution by microsoft, the work is very easy:
Download his CI code, replace the old CI virtual directory with the Benjamin Day's CI,
and fix web.config. When you edit web.config , follow his instructions and edit AppSettings similar to
to the sample settings given in his blog:
<appSettings>
<add key="LogFileName" value="CI-log.txt"/>
<add key="TeamFoundationServer" value="http://labtfs:8080" />
<add key="ServerUrl" value="http://labtfs" />
<add key="1"
value="TeamProjectName=Agile Team Project;BuildType=Default Build;
PathToBuild=$/Agile Team Project/Main/Demo20071030" />
<add key="2"
value="TeamProjectName=Agile Team Project;BuildType=Branch Build;
PathToBuild=$/Agile Team Project/Branches/Demo20071030" />
</appSettings>
It Works !