Submit

Description

Submits an asset to a Rational Asset Manager repository

Parameters

Attribute Description Required
guidProperty The property that will contain the GUID of the submitted asset after the asset is submitted No
server The ID of the server that connects to Rational Asset Manager Yes
failOnError If false, the build will continue execution when an error occurs. Otherwise, the build will fail. No. Default is true.
clearCache If true, cached assets will be cleared before this task is executed. No. Default is false.

Parameters specified as nested elements

asset

You can specify a single asset to be submitted.

Example

Submit an asset and print its GUID

<submit server="ramServer" guidProperty="myAssetGuid">
   <asset>
      <name>My Asset</name>
      <version>1.0</version>
      <community>Software Development</community>
      <assetType>Component</assetType>
      <shortDescription>This is my asset</shortDescription>
   </asset>
</submit>
<echo>${myAssetGuid}</echo>