The task returns the workspace UUID for the given workspace name in the specified Ant property.

Attributes

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
property The name of the Ant property in which to return the workspace UUID. Yes
workspaceName The name of the workspace. The workspace name specified must identify a workspace that exists and is unique. Yes

Notes

Examples

Create an Ant property with the workspace UUID

<xt:getworkspaceuuid
  repositoryAddress="${repositoryAddress}"
  userId="${repositoryUserid}"
  password="${repositoryPassword}"
  property="workspace.uuid"
  workspaceName="IMS14.Service.Workspace.djreilly"
/>