开发者

Execution order of cruisecontrol.net blocks

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:

  1. prebuild
  2. sourcecontrol
  3. tasks (in the order in which they appear in the config file)
  4. 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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜