문제

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top