I asked for some time to help get continuous integration working in Delphi earlier. One side answer has partial incomplete (not working for me) information [here] [2] for using cruisecontrol.
I got a Jenkins / Hudson job, and the easy part is that (with Delphi) the configuration is done exclusively through a web browser. However, with CruiseControl.net it is much more difficult to configure.
I would like to see a ccnet.config sample that will build the delphi hello-world project (Project1.dproj) using MSBUILD from CruiseControl and automatically restore every time subversion (or mercurial) sources are modified upstream,
So far, I:
- installed and received CruiseControl.net version 1.6.7981 and its launch.
- There
ccnet.config no valid projects in my ccnet.config .
Here's my ccnet.config, I originally had <exec> and changed, as suggested below, to <msbuild> :
<cruisecontrol xmlns:cb="urn:ccnet.config.builder"> <project name="Project1"> <tasks> <msbuild> <projectFile>project1.dproj</projectFile> </msbuild> </tasks> </project> </cruisecontrol>
Update: I was initially unable to 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 this helped me find the ccnet.config problem .
source share