1. Install ccnet. Currently, the version v1.3 of our project can be directly installed in the default directory.Source codeThe manager is vsts, so you also need to install another plug-in (ccnet. vsts. plugin. dll) and copy the DLL to the directory c: \ Program Files \ cruisecontrol. Net \ Server.
2. configuration of the configuration file. Now the project implements the unit test and automatic compilation and packaging functions. The ccnet. config configuration script is as follows:
For more information about the functions of each node, see ention of the Installation File.
Iii. problems encountered.
1. ccnet needs to run on. NET Framework 2.0. Because the deployment machine also has Framework 1.0, You need to specify the. NET Framework 2.0 version for the ccnet virtual directory in IIS.
2. added the email sending and receiving function. If this item is added to ccnet. config, a specified XML logger must be displayed; otherwise, an error will occur.
3. for timeout configuration, the default time is 60 seconds, that is, 10 minutes. If the project compilation exceeds 10 minutes, a timeout exception is thrown and compilation fails. Therefore, if the project compilation takes a long time, the value of timeout needs to be modified.
4. After the installation is complete, start the ccnet service.
Iv. Summary
In general, ccnet is very convenient to use. As for the effect, it still takes some time to verify it.