Daily integration in. NET environment (8): cruisecontrol. Net labeller Blocks

Source: Internet
Author: User

Labeller blocks marks each compilation

    • Date labeller
    • Default labeller
    • Iteration labeller
    • Last change labeller
    • Remote project labeller
    • State file labeller

1. Date labeller

Generate the following format: yyyy. Mm. dd. Build

 
<Project> <labeller type = "datelabeller"/> <! -- Other project configuration to go here --> </Project>

2. DefaultLabeller

 
<Project> <labeller type = "defaultlabeller"> <prefix> Foo-1-</prefix> <incrementonfailure> true </incrementonfailure> </labeller> <! -- Other project configuration to go here --> </Project>

Add one after the specified prefix. If the value of incrementonfailure is set to true, the value is added only when the prefix is successful.

 

3. Iteration labeller

Name By Iteration

 
<Project> <labeller type = "iterationlabeller"> <prefix> 1.2 </prefix> <duration> 1 </duration> <releasestartdate> 2005/6/24 </releasestartdate> <separator> _ </separator> </labeller> <! -- Other project configuration to go here --> </Project>
 
Duration iterations several weeks, releasestartdate iteration Start Time
 
4. Last change labeller
 
<Project> <labeller type = "lastchangelabeller"> <prefix> Foo-1-</prefix> </labeller> <! -- Other project configuration to go here --> </Project>

Some are used by the changenumber Source Code Manager.

 

The remaining two are not commonly used. For more information, see related documents.

 

Now, this series is complete. Thank you for reading!

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.