I am working with CruiseControl.NET, and I need to set a label with a specific format:
- SomeText_Date_Revision
With the Default Labeller I can put some text and the date in the prefix and in addition I get the build number.
But I need a number like the revision number in the Date Labeller. This revision number starts from 1 every day while the build number is an ongoing count which increases with every build.
I need to somehow get a prefix to the Date Labeller or I need to get a number like the revision number in the Default Labeller.
How do I achieve this?
If the shipped labellers do not fit your needs you can simply write our one labeller with a few lines of code.
Ruben Willems has written some blog posts on how to implement your own labeller:
You can also take a look at the standard labellers that comes with CruiseControl.NET here: CruiseControl.NET Labellers source code