Learn More





New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Continuous Integration with CodePlex and Cruise Control.Net

  • 4/7/2015
  • 981


Continuous Integration with CodePlex and Cruise Control.Net

Last updated 8 years ago

Its quite simple to setup CI with Cruise Control.Net and CodePlex. All you need to do is use SVN to pull down the latest code using the Exec task as shown below, then build the solution. This example pulls the code from the DNN Automation Tests project. SVNClientPath is the path to the svn.exe on your build server.

<Exec Command="%22$(SVNClientPath)svn%22 checkout C:\Tests\Source" />

You will probably need to change some config values before you build. To do that you can sue the MSBuild Community Tasks project and use the XmlUpdate task as shown:

<XmlUpdate Namespace=""
Value="$(BuildVersion)" />

Once you have the code and have done your updates you execute the build as follows.

<MSBuild Projects="$(TestsFolder)\Source\DotNetNuke_WatiN_Tests.sln" Properties="Configuration=Release;Platform=Any CPU" Targets="Rebuild" />

Now just create a CCNet project and call the task that has the above two steps and you're done.

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out