Hi,

I want to provide build label entirely from parameter value:

<parameters>
  <textParameter>
    <name>Label</name>
    <display>Label for build</display>
    <description>Please enter build label:</description>
    <minimum>3</minimum>
    <maximum>10</maximum>
    <required>true</required>
  </textParameter>
</parameters>

I tried to use file labeller for this:

    <labeller type="fileLabeller">
      <labelFilePath>emptyfile.txt</labelFilePath>
      <allowDuplicateSubsequentLabels>true</
allowDuplicateSubsequentLabels>
      <dynamicValues>
        <directValue property="prefix" parameter="Label" />
      </dynamicValues>
    </labeller>

But such usage of file labeller is prohibited: it complains that file
contains only whitespaces.
Is there a way to accomplish my goal?

Regards, Przemyslaw

Reply via email to