From IT Skills
Prerequisites[edit | edit source]
- NAnt with Contrib of 0.92 version
- TortoiseSVN with command line client tools enabled
- TortoiseSVN may be installed by choco install tortoisesvn -y (command line tools included automatically with ADDLOCAL=ALL)
- check that svn.exe accessible in command line
- Category:Visual_Studio and NuGet#2.7+ for dotNet applications
- if studio is absent (or only Shell installed) then Visual Studio Team Explorer is needed as tfs sources client, possible Building without Visual Studio
Build environment installation[edit | edit source]
- select folder to store scripts and all build files. folder will be called ${root.dir} later
- checkout ccnet into ${root.dir} or if you have no access checkout ccnet/AutoBuilds into ${root.dir}\AutoBuilds folder (called ${autobuilds.dir} later)
- get _environment_.xml from ccnet/Keys/BuildEnvironments and put it into ${autobuilds.dir}\CCNetConfiguration folder (called ${config.dir} later)
- run ${config.dir}\setCurrentDeploy.vbs _environment_.xml (in Explorer this can be achieved by dragging the _environment_.xml file and dropping onto the ${config.dir}\setCurrentDeploy.vbs)
- run ${config.dir}\CCNet\CCNet2Environment.build.bat
- CCNetConfig.log should have "BUILD SUCCEEDED" in the end
- ccnet 1.8.5 requires .Net version#3.5
- current Windows user must have administrators rights and be run as Administrator ${config.dir}\CCNet\CCNetServiceInstall.bat. later current Windows user may have not administrators rights
- Windows service with name 'CCService _environment_' should be created
- in order to test installation ${autobuilds.dir}\_environment_\CCNet\ccnet.exe may be run
- check that current Windows user may checkout sources from svn
- check port attribute in ${autobuilds.dir}\_environment_\ccservice.exe.config
- change Log On User for Windows service of CCService_environment_ to user who accesses TFS_Sources (ax\nyma, for example), start service and open firewall for it if needed. User should have write permission to ${root.dir}
- check that CruiseControl is running and have at least Building project. In order to do this look at ccnet.exe messages or at a web dashboard or at a CCTray
Addons[edit | edit source]
- MSBuild
- StyleCop
- CruiseControl.NET-1.8.5.0-Setup.exe may be installed for the web dashboard
Pages in category "CCNetConfiguration"
The following 8 pages are in this category, out of 8 total.