From IT Skills
Jump to: navigation, search


Build environment installation[edit]

  1. select folder to store scripts and all build files. folder will be called ${root.dir} later
  2. checkout ccnet into ${root.dir} or if you have no access checkout ccnet/AutoBuilds into ${root.dir}\AutoBuilds folder (called ${autobuilds.dir} later)
  3. get _environment_.xml from ccnet/Keys/BuildEnvironments and put it into ${autobuilds.dir}\CCNetConfiguration folder (called ${config.dir} later)
  4. 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)
  5. run ${config.dir}\CCNet\
    1. CCNetConfig.log should have "BUILD SUCCEEDED" in the end
  6. ccnet 1.8.5 requires .Net version#3.5
  7. 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
    1. Windows service with name 'CCService _environment_' should be created
  8. in order to test installation ${autobuilds.dir}\_environment_\CCNet\ccnet.exe may be run
    check that current Windows user may checkout sources from svn
  9. check port attribute in ${autobuilds.dir}\_environment_\ccservice.exe.config
  10. 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}
  11. 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


Pages in category "CCNetConfiguration"

The following 8 pages are in this category, out of 8 total.