updateBuildEngine
The updateBuildEngine task updates a build engine in the Jazz® repository.
- Jazz Build Engine
- Hudson/Jenkins
- Rational Build Agent
- Rational Build Forge
The following table describes updateBuildEngine 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 |
activeEngine |
This option controls whether the engine is active. Valid values are
|
No |
createReport |
This option controls whether or not a build definition report is
generated. Valid values are |
No |
engineDescription |
The description of the build engine to create. |
No |
engineId |
For the getNextTeamBuildRequest task, the identifier of the build engine for which to retrieve the next build request. |
Yes |
monitorThreshold |
This option controls the engine monitor threshold. Valid values are in
minutes. The default value is |
No |
processAreaName |
The name of the EWM process area where the builds are defined. When the process area is a child of a parent process area,
like a team area, specify the process area name in a path format starting with the project area name
( /project_area_name/team_area_name/subteam_area_name for example).
|
Yes |
processAreaNameDefinitions |
The name of the EWM process area where Enterprise Extensions resource definitions used by this build are defined. If not specified, the EWM process area identified by the processAreaName attribute is used. Nevertheless, if the process area is a team area, the EWM process area must be explicitly identified to define where the Enterprise Extensions system definitions are. |
No |
propertyCopy |
This option controls whether or not the property copy process is
enabled. Valid values are |
No |
reportAppend |
This option controls whether the build definition report is appended
to or overwrites the specified report file. Valid values are |
No |
reportCondensed |
Thihs option controls the format of build properties written to
the build definition report. Valid values are |
No |
reportFile |
The name of the report file. If a reportFile is specified, the build definition report will be written to the file. If omitted, the build definition report will be written to the build log. |
No |
reportFolder |
The name of the report file folder. This is the location for the report file. A fully qualified path is required. |
No |
reportNoUuid |
This option controls whether or not UUID values are printed. Valid
values are |
No |
reportSorted |
This option controls whether or not build properties are reported in
sorted order in the build definition report. Valid values are |
No |
updateOnly |
Specify |
No |
Example
- Update a Jazz Build
Engine
<target name="update" description="Update Build Engine"> <xt:updateBuildEngine repositoryAddress="${repositoryAddress}" userId="${userId}" password="${password}" engineId="${engineId}" engineDescription="${engineDesc}" processAreaName="${projectArea}" templateId="com.ibm.team.build.engine.jbe" activateEngine="true" monitorThreshold="5" processRequests="true"> </xt:updateBuildEngine> </target>
- Update a Rational Build Agent Engine and save original engine
properties
<target name="update" description="Update Build Engine"> <xt:updateBuildEngine repositoryAddress="${repositoryAddress}" userId="${userId}" password="${password}" engineId="${engineId}" processAreaName="${projectArea}" activateEngine="true" monitorThreshold="5" processRequests="true" propertyCopy="true"> <!-- Save Original Properties --> <xt:enginePropertyCopy copy="com.ibm.rational.buildforge.buildagent.hostname" name="copyOf.hostname"/> <xt:enginePropertyCopy copy="com.ibm.rational.buildforge.buildagent.password" name="copyOf.password"/> <xt:enginePropertyCopy copy="com.ibm.rational.buildforge.buildagent.port" name="copyOf.port"/> <xt:enginePropertyCopy copy="com.ibm.rational.buildforge.buildagent.secure" name="copyOf.secure"/> <xt:enginePropertyCopy copy="com.ibm.rational.buildforge.buildagent.secure.protocol" name="copyOf.secure.protocol"/> <xt:enginePropertyCopy copy="com.ibm.rational.buildforge.buildagent.userid" name="copyOf.userid"/> <!-- Rational Build Agent Properties --> <xt:rbaEngineProperty name="com.ibm.rational.buildforge.buildagent.hostname" value="http://newHostname"/> <xt:rbaEngineProperty name="com.ibm.rational.buildforge.buildagent.password" value="newPassword"/> <xt:rbaEngineProperty name="com.ibm.rational.buildforge.buildagent.port" value="5678"/> <xt:rbaEngineProperty name="com.ibm.rational.buildforge.buildagent.secure" value="false"/> <xt:rbaEngineProperty name="com.ibm.rational.buildforge.buildagent.secure.protocol" value="default"/> <xt:rbaEngineProperty name="com.ibm.rational.buildforge.buildagent.userid" value="newUserid"/> </xt:updateBuildEngine> </target>