The task is used to delete SCM streams.
The task supports Team Build Attributes, Build Extensions Debugging Attributes, Build Extensions General Attributes, as well as, its own task specific attributes. Click on a link for more information on the common attributes.
The following table describes the task specific attributes for the task:
| Task Specific Attributes | ||
| Attribute | Description | Required |
| deleteAll |
This option controls whether or not all streams in the specified process area are deleted. If true, all streams in the specified process area are permanently deleted. If false, only the streams identified by stream elements will be deleted. The default is false. If this attribute is set to true, stream elements are not required, and if any are specified, they will be ignored.
|
No |
| processAreaName |
The name of the EWM® process area that owns the streams. This attribute is required if deleteAll is true.
|
No |
| preview |
Specify true to preview what streams will be deleted. The default is false; the streams will be deleted.
|
No |
One or more Stream elements can be specified within the deleteStreamsdeleteStreams element. Stream elements are used to identify the stream to be deleted. At least one Stream element is required if deleteAll is false.
The following table describes the valid Stream element attributes and their options:
| Stream Element Attributes | ||
| Attribute | Description | Required |
| name | The name of the stream. | Yes |
Delete all streams
<target name="main" description="main">
<xt:deleteStreams
password="${password}"
processAreaName="${processAreaName}"
repositoryAddress="${repositoryAddress}"
userId="${userId}"
deleteAll="true"/>
</target>