Chris,
I've seen other people with a similar problem, although I haven't heard of
such randomness in terms of it working. One thing I see is that the dynamic
value tag needs to be added to the labeller for each parameter you are
using. I know it works without the dynamicValue tag in other parts of the
config, but the labeller seems to need it defined explicitly. This isn't
very clear in the documentation.
Try this and see if it helps:
<labeller type="ccBzrRevisionLabeller">
<workingDirectory>$(WorkingDir)\$[Branch|None]</workingDirectory>
<branchDirectory>$(TrunkUrl)\$[Branch|None]</branchDirectory>
<timeout units="minutes">15</timeout>
<dynamicValues>
<directValue>
<property>workingDirectory</property>
<parameter>Branch</parameter>
</directValue>
<directValue>
<property>branchDirectory</property>
<parameter>Branch</parameter>
</directValue>
</dynamicValues>
</labeller>
On Tue, Sep 21, 2010 at 5:10 AM, Christopher <[email protected]> wrote:
> Some more info:
>
> I was using CCNET 1.5 Release version. I have just tried installing
> the last 1.5 version I could find (1.5.7385.69) but the problem is
> the same.
>
> Here are some snippets from the config I use. The non-dynamic
> variables are all set in a parent config file that includes this one.
>
> <project name="$(Project)" category="$(Category)" queue="$
> (QueueName)">
> <workingDirectory>$(WorkingDir)</workingDirectory>
> <artifactDirectory>$(ArtifactDirectory)</artifactDirectory>
> <webURL>$(CCNetServer)</webURL>
> (...)
> <labeller type="ccBzrRevisionLabeller">
> <workingDirectory>$(WorkingDir)\$[Branch|None]</
> workingDirectory>
> <branchDirectory>$(TrunkUrl)\$[Branch|None]</branchDirectory>
> <timeout units="minutes">15</timeout>
> </labeller>
> (...)
> <parameters>
> <textParameter>
> <name>Branch</name>
> <display>Branch</display>
> <default>None</default>
> <required>true</required>
> </textParameter>
> </parameters>
> </project>
>
> Chris
>