CruiseControl.NET: Mercurial configuration

Let’s see CruiseControl.NET configuration for Mercurial repository.

Firstly be sure to install Mercurial on your build server.

Add the following tags into your cc.net configuration file (e.g. for Project1):

<project name="Project1" >
<workingDirectory>C:\project1\working</workingDirectory>
<artifactDirectory>C:\project1\artifacts</artifactDirectory>

<triggers>
<intervalTrigger name="continuous" seconds="3600" />
<!--Repo check for new updates trigger. e.g. ones in 1 hour-->
</triggers>

<sourcecontrol type="hg"><!--Defining Mercurial repo-->
<repo>https://hg.projects.net/hg/project1/</repo><!-- Repo path-->
<workingDirectory>C:\project1\working</workingDirectory>
</sourcecontrol>
</project>

Continue reading “CruiseControl.NET: Mercurial configuration”