Thursday 12 July 2007

CI (Continuous Integration) Builds

In my previous post (regarding CI Builds in TFS), I referenced a Microsoft Article on how to setup CI.

There are a couple of points i wish to make beyond this article.

1) You can keep a nightly build as well as a CI build. This is very useful, we use the CI build to verify checkin, but the Nightly build to deployment to the test team.

2) You can use the nightly build to get all sources from source and do a full build, and the CI build to give an incremental build.

I think this strategy gives the best of both worlds.

If you wish to set your CI build as an incremental build you should do the following.

Within the tfsbuild.proj file, add the following (within the ProjectExtensions Tag):




<SkipClean>true</SkipClean>
<SkipInitializeWorkspace>true</SkipInitializeWorkspace>
<ForceGet>false</ForceGet>


This will stop TFS from reinitalising workspaces, and regetting all sources.

No comments: