Ccnet Build Process

Source: Internet
Author: User
Startnewintegration
Getlaststate (get the last build status, corresponding to the <projectname>. State file in the ccnet directory)
Getmodifications
Markstarttime
Build
{
Prebuild (corresponding to the prebuild configuration section, any task failure will lead to no longer subsequent tasks)
Getsource
Runtasks (corresponding to the task configuration section, any task failure will lead to no longer subsequent tasks)
}
Markendtime
Postbuild
{
Finishintegration (persistent build state, which is obtained next time getlaststate)
Publishresults (this process is still executed even if the build fails, corresponding to the publisher section. Any publisher running failure will continue to run the subsequent publisher)
}

Appendix: variables passed to msbuild or Nant by ccnet
Ccnetartifactdirectory = D: \ ccnet \ artifact \ myproject // Corresponding configuration/ccnet/project/artifactdirectory
Ccnetbuildcondition = forcebuild // Build conditions
Ccnetbuilddate = 2009-03-10 // Build date
Ccnetbuildtime = 09:36:11 // Build time
Ccnetfailureusers = "workgroup \ zealic, workgroup \ Jim" // Generate the user (fromSource codeGet in change)
Ccnetintegrationstatus = unknown // Current integration status
Ccnetlabel = 2009.03.10.001// Label generated by labeller
Ccnetlastintegrationstatus = failure // Last integration status
Ccnetlistenerfile = D: \ ccnet \ artifact \ myproject \ myproject_listenfile.xml
Ccnetnumericlabel = 1 // Digital representation of the ccnetlabel variable
Ccnetproject = myproject // Corresponding configuration/ccnet/project/Name
Ccnetprojecturl = http: // localhost/dashboard/ // Corresponding configuration/ccnet/project/weburl
Ccnetrequestsource = zealic // Corresponds to username in sourcecontrol Configuration
Ccnetworkingdirectory = D: \ ccnet \ myproject \// Corresponding configuration/ccnet/project/workingdirectory

3/10/2009 zealic

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.