I asked some time ago for help getting continuous integration working in Delphi previously. One side-answer has partial incomplete (not working for me) information [here][2] for using cruisecontrol.
I have gotten Jenkins/Hudson working, and the easy part about it is that (with Delphi) the configuration is done purely through the Web browser. However with CruiseControl.net is much more difficult to set up.
I would like to see a sample ccnet.config that will build a hello-world delphi project (Project1.dproj) using MSBUILD, from CruiseControl, and auto-rebuild each time that the subversion (or mercurial) upstream sources are modified.
So far I have:
- installed and got CruiseControl.net version 1.6.7981 and its running.
- No valid projects in my
ccnet.config
Here's my ccnet.config, originally I had <exec>
and changed as suggested below to <msbuild>
:
<cruisecontrol xmlns:cb="urn:ccnet.config.builder">
<!-- CRUISECONTROL.NET Server configuration -->
<project name="Project1">
<tasks>
<msbuild>
<projectFile>project1.dproj</projectFile>
</msbuild>
</tasks>
</project>
</cruisecontrol>
Update: I was originally unable to make it read c:\builds\ccnet.config
from ccnet.exe but I found that I could run ccnet.exe (non-service mode) with a command line parameter and that got me around the problem finding my ccnet.config.