Couldn't find any documentation about this: what is the order of execution of the different blocks of 开发者_StackOverflow社区a cruisecontrol.net config file (e.g. sourcecontrol, prebuild, tasks)?
Specifically I'd like to know whether sourcecontrol is executed before or after the prebuild block.
I guess this page has the answer:
- The
<tasks>
section is always run before the<publishers>
section, regardless of the order in which they appear. - However, within each of these sections, the tasks are run in the order they appear.
- The
<prebuild>
section is intended for tasks which need to be run before the build starts, including the sourcecontrol operation.
So the order is:
- prebuild
- sourcecontrol
- tasks (in the order in which they appear in the config file)
- publishers (in the order in which they appear in the config file)
I think the order is
1.sourcecontrol
2.tasks
a.msbuild
b.exec
3.publishers
Please check the link
精彩评论