getProcessAreas

The getProcessAreas task retrieves a list of semicolon-separated process area names from the Jazz® repository.

This task supports the Team build attributes, Build Extensions debugging attributes, Build Extensions general attributes, and its own specific attributes.

The following table describes the specific attribute of the task.

Attribute Description Required

property

The name of the Ant property in which to return the process area names.

Yes

Note: Only the process areas where the user has access are returned.

Example

The following example shows how you can specify this task.

<target name="get" description="Get Process Area Names">

  <xt:getProcessAreas 
    repositoryAddress="${repositoryAddress}"
    userId="${userId}"
    password="${password}"
    property="areas"
  />

  <echo>${areas}</echo>

</target>

The following example shows the result of the task execution.

[echo] Setup 9703;Setup 9703b;GWPerf;z703 Samples;TestFor702 Client;Davids Testing;Alfonso;djr;Feb10;djr/Team one;
djr/Team one/Subteam one;djr/Team two;djr/Team two/Subteam two;