workItemPublisher

The workItemPublisher task publishes work item information to a build result.

The table below describes workItemPublisher task attributes.

Attribute Description Required

buildResultUUID

The UUID of the build result to update. The value of this attribute is typically ${buildResultUUID} because the property is built-in when using the Jazz Build Engine.

Yes

filePath

For the workItemPublisher task, set to the path to a change set file output from the teamAccept task, or a work item file. A work item file must contain work item IDs one per line. The path can be relative to the base directory of the build file or an absolute path.

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

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

inputFileType

For the workItemPublisher task, this flag indicates whether the filePath attribute indicates a change set file or a work item file. Valid values are CHANGESET and WORKITEM. If this attribute is not specified, the task assumes the filePath attribute points to a changeset file.

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

<workItemPublisher repositoryAddress="${repositoryAddress}"
		                   userId="${userId}"
		                   password="${password}"
		                   buildResultUUID="${buildResultUUID}"
		                   filePath="changesets.txt" />

Feedback