DeleteAsset

Description

Deletes assets from a Rational Asset Manager repository

Parameters

Attribute Description Required
failOnError If false, the build will continue execution when an error occurs. Otherwise, the build will fail. No. Default is true.
server The ID of the server that connects to Rational Asset Manager Yes

Parameters specified as nested elements

asset

You can specify individual assets to be deleted.

search

A search can be specified and all assets returned from that query will be deleted.

Examples

Delete a single asset

<deleteAsset server="ramServer">
   <asset guid="{0000-1111-2222-3333}" version="1.0" />
</deleteAsset>

Delete an asset that was specified in the script

<asset id="myAsset" server="ramServer" guid="{0000-1111-2222-3333}" version="1.0" />
<deleteAsset server="ramServer">
   <asset refid="myAsset" />
</deleteAsset>

Delete all assets that match the query "myAsset"

<deleteAsset server="ramServer">
   <search query="myAsset" />
</deleteAsset>