teamFetch

The teamFetch task fetches code from a team workspace and puts it in a local destination.

The table below describes teamFetch task attributes.

Attribute Description Required

destination

Local directory where the fetched files are stored.

Yes

repositoryAddress

Address of the team repository to use. The value of this attribute is typically ${repositoryAddress} because that property is built-in when using the Jazz Build Engine.

Yes

userId

User ID to use.

Yes

workspaceName

For the teamFetch task, the name of the workspace from which to fetch.

Yes

workspaceUUID

For the teamFetch task, the UUID of the workspace from which to fetch.

If you have multiple workspaces with the same name, you may need to use this attribute instead of workspaceName.

Yes

buildResultUUID

For teamFetch task, this build result will be updated with the build workspace information. This enables the build workspace to be recreated at a later time from the build result. This attribute should be set on at most one invocation of this task per build. Build results cannot have more than one workspace associated with them. This task throws an exception if the build result already has a workspace associated with it.

No

failOnError

If true (the default), the task fails if it encounters an error. If false, some errors are ignored and the task is completed.

No

password

Password for the user ID, a zero-length string by default unless specified.

No

passwordFile

The password file to use for the connection. You can create a suitable password file by invoking the Jazz Build Engine with the -createPasswordFile argument. You can only specify one password file.

No

verbose

Specifies more message output. The default is false.

No

Example

<mkdir dir="${java.io.tmpdir}/toolkittest" />
<teamFetch repositoryAddress="${repositoryAddress}"
		           userId="${userId}"
		           password="${password}"
		           workspaceName="workspace1"
		           buildResultUUID="${buildResultUUID}"
		           destination="${java.io.tmpdir}/toolkittest"
		           verbose="true" />

Feedback