The task returns the userid of the owner of the specified workspace 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 userid of the owner of the workspace. Yes
workspaceUUID The UUID of the workspace. The value of this attribute is typically ${team.scm.workspaceUUID} because the property is built-in when using the Jazz Build Engine. Yes

Notes

Examples

Find the owner of a workspace

<target name="main">
  
  <xt:getworkspaceowner
    repositoryAddress="${repositoryAddress}"
    userId="${userId}"
    passwordFile="${passwordFile}"
    property="my.property"
    workspaceUUID="${team.scm.workspaceUUID}"
  />
  <echo>${my.property}</echo>
  
</target>