setBuildResultNonDeletable
The setBuildResultNonDeletable task sets the specified build results non-deletable.
The following table describes setBuildResultNonDeletable attributes.
Attribute | Description | Required |
---|---|---|
repositoryAddress |
Address of the team repository to use. The value of this attribute is typically ${repositoryAddress} because that property is built-in when the Jazz® Build Engine is used. |
Yes |
userId |
User ID for authentication to the repository. Requires password or passwordFile to be set. |
Yes |
certificateFile |
The path to the file that contains the user's login certificate for authentication. Requires password or passwordFile to be set. You can specify certificateFile or repositoriesFile, but not both. |
No |
password |
Password for the user ID for authentication to the repository. Either password or passwordFile can be provided, but not both. |
No |
passwordFile |
The password file to use for authentication to the connection. You can
create a suitable password file by invoking the Jazz Build
Engine with the |
No |
smartCard |
Use of the connected smart card for authentication ( |
No |
failOnError |
If |
No |
verbose |
More message output. The default value is |
No |
buildId |
The ID for the build that is to be created. |
No |
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. The ${buildResultUUID} property will be automatically retrieved from the ant environment if this attribute is not specified. This attribute is used to identify the build result to update. Either buildId or buildResultUUID can be provided, but not both. |
No |
This task can be used to set a single build result, or all results for a build definition, non-deletable in one action.
Example
Set build non-deletable
<target name="simulation" description="${lblSimuTarget]" if="run.simulation">
<BuildActivityStarParent label="${lblSimuTarget]" property="simuParentId"/>
<BuildActivity label="${lblSimuTarget]"/>
<!-- Load properties files -->
<property file="${ant.pkg.properties}"/>
<!-- Set build non-deletable -->
<BuildActivity label="${lblSimuTarget}: Set build non-deletable"/>
<im:setbuildresultnondeletable
repositoryAddress="${respositryAddress}"
userId="${userId}"
passwordFile="${passwordFile}"
buildId="IMS14.ServiceBuild.@compile"
/>
...
</target>