From: Owen R. <exo...@gm...> - 2006-03-09 17:41:29
|
hi adam, On 09/03/06, Adam McGahan <amc...@av...> wrote: > I am having trouble getting CruiseControl.NET integrated with Surround SC= M. > I have created a configuration file that should monitor a workspace branc= h > (not mainline) called "TestCC", and ccnet.exe appears to be monitoring th= at > branch. However, when it detects modifications and proceeds to do a 'get= ', > it gets from the mainline branch rather than the workspace branch. The S= CM > block from the ccnet.config is this: it looks like this is a bug in the surround source control provider.=20 the branch tag (-b) is not included in the get source command line.=20 if you don't mind hacking the source yourself, the following change will probably fix it: Surround.cs: --- =09=09public override void GetSource(IIntegrationResult result) =09=09{ =09=09=09Log.Info("Getting source from Surround SCM"); =09=09=09string command =3D String.Format("get * -q -tcheckin -wreplace {0} -d{1} -b{2} -p{3} -z{4} -y{5}", =09=09=09 (Recursive =3D=3D 0) ? "" : "-r", =09=09=09 WorkingDirectory, =09=09=09=09=09=09=09=09=09=09 Branch, =09=09=09 Repository, =09=09=09 ServerConnect, =09=09=09 ServerLogin); =09=09=09Execute(CreateSSCMProcessInfo(command)); =09=09} --- otherwise, i should be able to get a new build out on ccnetlive by tomorrow= . cheers, owen. -- Owen Rogers | http://dotnetjunkies.com/weblog/exortech | CruiseControl.NET - http://ccnet.thoughtworks.com |