Datetime labeller for CruiseControl.NET.
Datetime Labeller for CC.NET makes possible to label your builds with customized date time format.
Create build label with specific date time format.
Download ccnet.datetimelabeller.plugin.dll file from Release into the CruiseControl.NET Installation folder (e.g. C:\Program Files\CruiseControl.NET\server), Restart the CruiseControl.NET Service.
- Start -> Run -> services.msc
- Right-Click on the CruiseControl.NET Service
- Restart
Modify your ccnet.config file to effectively use the labeller.
Modify your ccnet.config
file, under the <project>
node add a lableller as:
<labeller type="datetimeLabeller">
<major>1</major>
<minor>4</minor>
<datetimeFormat>MMdd</datetimeFormat>
</labeller>
The full exmaple for <datatimeForamt/>
please refer to MSDN DateTime Format. The complete config options example is here:
<labeller type="datetimeLabeller">
<major>1</major>
<minor>4</minor>
<build>1234</build>
<!- Optional, will overwrite generated value->
<datetimeFormat>MMdd</datetimeFormat>
<!- The .NET format for a DateTime type->
<prefix>UAT-</prefix>
<!- Optional->
</labeller>