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