I downloaded CI Factory following the link from the CI Factory website. This is to version 184.108.40.206 and this is the version that I used. I have just noticed that if you click to view the full download list of all versions then the current version is 220.127.116.11. I will be doing my next setup with this and it looks like I'll be following the upgrade instructions from here, which should help me to better understand this tool.
The first thing I did was to get VS2008 Team Suite installed on the Build machine, and VSS 2005 (yes we are still using VSS - TFS should be along in the next couple of weeks but we need our CI in place now).
I opened CIFactory.sln, converting it 2008 along the way using the Wizard, then opened the Arguments.xml file. Editing this file I:
- Renamed the project and pointed the projects location to the D drive. This is because, for SAN reasons, we have limited storage space on the C drive but the D drive can grow plenty.
- Entered the build master and an initial set of developer details.
- Removed the SVN details.
- Removed the unwanted packages (for now it is very stripped down, I will look to add more packages in the future when we buy licences for things like NDepend)
- Added the VSS package.
- Added the VSS arguments.
I then opened the Properties.xml file for the Visual Source Safe package and edited:
- The VSS.ExePath to point to the correct VSS install location, for me this is Program Files\Microsoft Visual SourceSafe\ss.exe
- The VSS.TemplateDB so that it used the D drive
I still had some extra work to do though.
I got an error that VSS needed to set the ssdir directory. A bit of playing soon discovered that doing this did not help. What I did to resolve this was to open the ccnetproject.xml file and edit it in two places:
- Change the cruisecontrol\sourcecontrol\ssdir element so that it points to the correct path for the VSS share.
- Change the project\sourcecontrol\sourcecontrolprovider\ssdir element points to the correct path for the VSS share.
To resolve this I opened the Compile.Target.xml file in the MSBuild package folder and edited it to alter the version of the framework that it refers to from 2.0 to 3.5, so that look like this:
With this change I got a green light from the build, happy days, and a nicely packaged set of files. I still have a bit to do, getting some more packages added in. I also have to get some builds setup for some other projects, and upgrade this install. Additionally once I've upgraded I'll see if any of the issues I've had look like bugs and raise them if they are.
So I guess over the next couple of weeks I may blog more on this.
Blog posts that I found useful to get this far are:
Finally a big thanks to Jay Flowers for putting this all together.