Hi all,

This is a blocking issue for the automation of our build process!

We need to use the value of the ListSubversionTagsParameter to select artifacts to copy.

For example, MY_TAG_SELECTION_PARAMETER always misses the value.

XML API:

/job/MyJob/123/api/xml
<freeStyleBuild>
  <action>
    <parameter>
      <name>MY_TAG_SELECTION_PARAMETER</name>
    </parameter>
    <parameter>
      <name>SOME_COPY_ARTIFACT_PARAMETER</name>
      <value><SavedBuildSelector plugin="[email protected]"/></value>
    </parameter>
    <parameter>
      <name>SOME_STRING_PARAMETER</name>
      <value>blahblah</value>
    </parameter>
  </action>
<!-- ... -->
</freeStyleBuild>

JSON API:

/job/MyJob/123/api/json?pretty=true
{
  "actions" : [
    {
      "parameters" : [
        {
          "name" : "MY_TAG_SELECTION_PARAMETER"
        },
        {
          "name" : "SOME_COPY_ARTIFACT_PARAMETER",
          "value" : "<SavedBuildSelector plugin=\"[email protected]\"/>"
        },
        {
          "name" : "SOME_STRING_VALUE_PARAMETER",
          "value" : "blahblah"
        }
      ]
    },
/* ... */
}

Note that it is shown in the HTML parameters (although MY_TAG_SELECTION_PARAMETER is incorrectly shown as Tag):

/job/MyJob/123/parameters/
<table class="pane">
  <tr><td colspan="3" class="pane-header">Parameters</td></tr>
  <tr>
    <td class="setting-leftspace"> </td>
    <td class="setting-name">Tag</td>
    <td class="setting-main"><input name="tag" value="MyBranch" class="setting-input   " type="text" /></td>
  </tr>
  <tr class="validation-error-area"><td colspan="2"></td><td></td></tr>
  <tr>
    <td class="setting-leftspace"> </td>
    <td class="setting-name">SOME_COPY_ARTIFACT_PARAMETER</td>
    <td class="setting-main"><input readonly="true" name="value" value="&lt;SavedBuildSelector plugin=&quot;[email protected]&quot;/&gt;" class="setting-input   " type="text" /></td>
  </tr>
  <tr class="validation-error-area"><td colspan="2"></td><td></td></tr>
  <tr>
    <td class="setting-leftspace"> </td>
    <td class="setting-name">SOME_STRING_VALUE_PARAMETER</td>
    <td class="setting-main"><input readonly="true" name="value" value="blahblah" class="setting-input   " type="text" /></td>
  </tr>
  <tr class="validation-error-area"><td colspan="2"></td><td></td></tr>
</table>
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to