一个控件项目每日编译的步骤

The steps of daily build (for Monitor project):
1.  Clean up the working directory.
2.  Get cvs change logs.
    - Get the cvs change log of today. If the change log is empty then stop building.
    - Get the cvs change log of all.
3.  Get the source codes from cvs.
4.  Increase the version of the project, then commit into the cvs.
5.  Compile the solution.
-------------------------
6.  Execute the unit test.
    - NUnit Test. (Only when compile succeed.)
    - JSUnit Test. (step 9)
7.  Create the help files.
    - NDoc. (Only when compile succeed.)
    - JSDoc.
8.  Copy the files to the result directory, and backup them into one compressed file.
    - Source codes.
    - * Complile result files (dlls and js files).
    - * NDoc result files.
    - JSDoc result files.
    - All log files.
note: The items with "*" will only be copied when the compile (step 5) is succeeded.
9.  Copy files for JSUnit to asp.net client directory, and create the virtual directories.
10. Send email to project members.
    - When build failed: tell the reason.
    - When cvs change log of today is empty: tell the reason.
    - When compile success: succeed build. The mail include: file links, jsunit test links, cvs_today.log, nunit_test.log.
    - When compile failure: failed build. The mail include: log links, jsunit test links, cvs_today.log, compile.log.

Note:
1. The daily build will send a mail notify the result whenever the build is succeeded, failed or stopped.
2. When the change log of today is empty, stop the build.
3. UnitTest and Create Doc failure will not cause the build failure.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值