Get only changed files with CruiseControl.NET

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Lane
Posts: 85
Joined: Thu Oct 26, 2006 10:58 am

Get only changed files with CruiseControl.NET

Post by Lane » Tue Jun 02, 2009 6:35 pm

We are using CruiseControl.NET and the Vault plug-in on a dedicated build server.

When we do a build, it seems to get all the files from Vault, even those that haven't changed.

Is there a configuration setting for the plug-in that will enable us to retrieve only those files that have changed since the last build?

Or, if we log to the Vault client on the build server with the same credentials we are using to run the build, and we set the working folder for the repository, will that accomplish the same thing?

shannon

Re: Get only changed files with CruiseControl.NET

Post by shannon » Wed Jun 03, 2009 6:46 am

First, you'll need to add this line to your vault block in your ccnet.config: <useWorkingDirectory>true</useWorkingDirectory>

Then, you can either use this line: <workingDirectory>project/src</workingDirectory>
to tell vault what diskpath you'd like to use as the working folder (it can be absolute or relative to the CC.Net project directory, just put . to use the project directory itself), or you can omit this line if you login to the gui client with your build user and set a working folder there.

Post Reply