How do you use build labels in publishers in cruisecontrol?
- by Omnifarious
I have this section in my CruiseControl config.xml file:
<publishers>
<onsuccess>
<artifactspublisher dest="artifacts/${project.name}" file="projects/${project.name}/fred"/>
<execute command="hg -R hg-succeeded/${project.name} pull"/>
<execute command="hg -R hg-succeeded/${project.name} tag -l build-${label} -r tip"/>
</onsuccess>
</publishers>
I'm getting tags that look like build-${label}. The ${label} part isn't being replaced by the build label like I expect. I'm expecting something like build.1 to show up in place of ${label}. How do I make this happen?
I do have the default labelincrementer configured with a <labelincrementer /> tag in my project.
Also, the CruiseControl documentation is absolutely awful. Is there better documentation anywhere?