views:

10

answers:

1

I have a project that uses CruiseControl.NET, and as a versioning scheme we have 3.0.[ccnetbuild].[svnrevision]. CCNetBuild is the internal build number cruise control uses to keep track of how many builds of a project it has done. Now I have had to rename one of the CCNet project (rename in CCNets config file) and the [build] number now starts again from zero. Is there any way I can set it to start at a particular value (the last value I had with the original name) and make it increment from there? It must be stored in some internal CCNet database or something like that.

+1  A: 

You need to edit the .state file of the CCNET project. Either you explicitly set its path using the State Manager Block in CCNET configuration or - if omitted - you'll find it in CCNET installation directory.

The Chairman