Date Labeller

The Date Labeller is used to generate labels in the format "yyyy.mm.dd.build". Using the Date Labeller makes it easy for the user to identify and communicate the date that a particular build occurred.

Version

Available from version 1.0

Examples

Minimal Example

1<labeller type="dateLabeller" />

Configuration Elements

Element Description Type Required Default Version
dayFormat The format for the day part. String No 000 1.0
dynamicValues The dynamic values to use for the labeller. Dynamic Values array No None 1.5
incrementOnFailure Determines if the build should be labeled even if it fails. So you can examine previous failed builds to determine why it failed. Boolean No false 1.0
monthFormat The format for the month part. String No 00 1.0
revisionFormat The format for the revision part. String No 000 1.0
yearFormat The format for the year part. String No 0000 1.0

Notes

The revision is increased on every build done at the same day, so if you do 2 builds on 2009/01/20, the first will be have label 2009.01.20.001, and the second will be 2009.01.20.002

This labeller has been contributed by Andy Johnstone

Automatically Generated

Documentation generated on Monday, 26 May 2014 at 7:18:00 AM