Hey all, I'm trying to set up CCNet to build a project from several different code branches in the same source repository. That part I've been able to handle easily using a dynamic value. However, here's where I am getting stumped:
How can I use a different labeling prefix that's dependent on the branch chosen? For example, I have a release branch, which should end up with builds labelled 2.0.xxxxx, whereas I have a beta branch used for upcoming versions, where the labels needs to be 3.0.xxxxx. Ideally, it would be easiest if there was a way to do a conditional test (i.e. If Branch=="Release" Then Prefix="2.0."), but I've pored over the documentation and that doesn't seem possible. I thought about using the branch name to dynamically include another XML file via the preprocessor (e.g. <cb:include "$[Branch].Config.xml" /> ). Do any of you CC gurus have any thoughts on this? Have any of you tried anything like this? Thanks in advance for your help. I just got this project dropped in my lap and it feels like I'm drowning!
