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?
Get only changed files with CruiseControl.NET
Moderator: SourceGear
Re: Get only changed files with CruiseControl.NET
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.
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.