The table below describes filePublisher 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 |
contributionTypeId |
The extended contribution type ID of this contribution. |
Yes |
filePath |
For tasks that need an input file, specifies the path to a file. It can be an absolute path or a path relative to the base directory of the build file. |
Yes |
label |
Label to use for the build. |
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 |
characterEncoding |
The character encoding used in the artifact file. It must be an IANA-compliant name. Defaults to the default encoding of the current platform. For more information, see IANA List of Character Set Names. |
No |
componentName |
The specific component to associate with this contribution. |
No |
contentType |
The type of the artifact. If not specified, it is set to application/unknown. |
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 |
<filePublisher repositoryAddress="${repositoryAddress}"
userId="${userId}"
password="${password}"
buildResultUUID="${buildResultUUID}"
filePath="download.zip"
label="generic file"
contributionTypeId="generic.test" />