Cygnes' Weblog - delphi programming

Thursday, April 19, 2007

Continuous Integration with CruiseControl.NET

Steve Trefethen recently posted two blog articles about "continuous integration". These posts get you on track setting up your own environment.

The links are:

CCNetConfig to help you create and maintain your CruiseControl.NET server

Video: Setting up a continuous integration environment

I was curious so I tried to setup an CI-environment. It was much easier than excepected. Now running 4 projects using CruiseControl.NET. There's one Delphi5 project and 3 Delphi7 projects. In a few weeks I will also try a Delphi2007 project with MSBuild.

I managed to synchronize the executables version information with the published label. For this I use my own command line tool that uses a template to generate a
version.rc, which can be build by brcc32.exe (resource compiler) and linked into the projects.

I bet there must be an easier way to do this, so if you have info about doing this just let me know.


I'm still having problems publishing the latest build to a network drive since I get an "access is denied" error. But I'm not logged on to the domain and that's probably the reason why it doesn't work.

[update]
Changing the service login account to my user account fixed the problem.
[/update]

Here you can find an article about continuous integration by Martin Fowler

Labels: , , , , ,