Dashboard > CruiseControl.NET > ... > Labeller Blocks > Iteration Labeller
Iteration Labeller Log In View a printable version of the current page.  
CruiseControl.NET documentation for latest CI builds
Added by Owen Rogers , last edited by Owen Rogers on Feb 06, 2006  (view change)

Iteration Labeller

The Iteration Labeller is similar to the Default Labeller; however, it maintains a revision number that is incremented by one for each iteration from the release start date. For example, if the release start date was June 1, 2005 and the iteration duration was 2 weeks, the iteration number on July 1, 2005 would be 3. This would create a label of <prefix>.3.<build number>.

<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>

Configuration Elements:

Node Description Type Required Default
prefix Any string to be put in front of all labels string false ""
duration The duration of the iteration in weeks string false 2
releaseStartDate The start date for the release (the start date of iteration one) string true  
separator The separator between the iteration number and the build number string false .
incrementOnFailure If true, the label will be incremented even if the build fails. Otherwise it will only be incremented if the build succeeds. (Added in CCNet 1.1) string false false

Contributed by Craig Campbell

Powered by a free Atlassian Confluence Open Source Project / Non-profit License granted to ThoughtWorks, Inc.. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators