This section identifies the supported build engines and their characteristics. The name, description, and template ID are listed for each of the supported engines.
This section also describes the configuration elements and team build properties that are supported by each of the build engines. Every build engine supports a predetermined set of configuration elements, the properties associated with those configuration elements, and team build properties. When creating a build engine, you must ensure to include only those configuration element properties and team build properties that are supported by the build engine.
When a build engine is created, all required configuration elements and team build properties are added to the engine definition. The value for any configuration element property or team build property that you include will be used when the elements and properties are processed. Any configuration element property or team build property that you do not include will be set to its default value. The required configuration elements for each engine type are identified in the ‘Configuration elements’ entry for the engine type with a (*).
If you include a configuration element property for an optional configuration element, the optional configuration element will be added to the engine and the specified property will be set to the specified value within that configuration element. Any other properties that are required by the optional configuration element which are not included will be defined using their default values. If you delete all configuration element properties for an optional configuration element, the element will be deleted from the engine definition.
The following sections identify each of the supported build types and their details.
| Name: | Jazz Build Engine | ||||
| Description: | This build engine registration represents a Jazz Build Engine or other process on a build machine that polls the repository for build requests. | ||||
| Template ID: | com.ibm.team.build.engine.jbe | ||||
| Configuration elements: |
|
||||
| Team build properties: |
|
| Name: | Hudson/Jenkins Engine | ||||||
| Description: | This build engine registration represents a connection to an Hudson/Jenkins build system. | ||||||
| Template ID: | com.ibm.rational.connector.hudson.engine.template | ||||||
| Configuration elements: |
|
||||||
| Team build properties: |
|
| Name: | Rational Build Agent Engine | ||||||
| Description: | This build engine registration represents a Rational Build Agent process on a build machine that handles build requests. | ||||||
| Template ID: | com.ibm.rational.buildforge.buildagent.engine | ||||||
| Configuration elements: |
|
||||||
| Team build properties: |
|
| Name: | Rational Build Forge Engine | ||||||
| Description: | This build engine registration represents a connection to Rational Build Forge. | ||||||
| Template ID: | com.ibm.rational.connector.buildforge.engine.template | ||||||
| Configuration elements: |
|
||||||
| Team build properties: |
|
The following sections describe how to define general build properties used in a build engine. Each section describes an element that can be specified within the createBuildEngine or updateBuildEngine element. These elements are not required and may not be applicable to the type of engine you are creating. Refer to the Build Engine Reference section to determine which elements are valid for the engine you are defining.
Code as many engineProperty elements as are needed to define the custom build properties for the build engine. One engineProperty element is needed for each custom build property. The following table describes the valid values for the engineProperty element attributes:
| Build Properties | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Attribute | Required | Description | ||||||||||||||||||||||||||||||||||||||||
| name | Yes | Name of the build property. The name can not be another build property or contain white space. A build property can be specified as part of the name, but it must be present and resolvable prior to the invocation of this task. | ||||||||||||||||||||||||||||||||||||||||
| value | Yes |
Value of the build property. The value for the property may be specified in nested text format. For example:
<xt:buildProperty name="name">value</xt:buildProperty>
|
||||||||||||||||||||||||||||||||||||||||
| asis | No |
An "asis" property value means that the value is already in its resolved form. For example, if a build property specifies a workspace name, the unresolved form of the value is the name of the workspace and the resolved form of the value is a workspace UUID string. When the asis attribute is set to true, it signifies that the workspace value is already in UUID form. Valid values are: true and false. The default is false.
|
||||||||||||||||||||||||||||||||||||||||
| description | No | Description of the build property. | ||||||||||||||||||||||||||||||||||||||||
| genericEditAllowed | No |
Specify true to allow this property to be altered during processing. Valid values are: true and false. The default is true.
|
||||||||||||||||||||||||||||||||||||||||
| kind | No |
The type of build property. The default data type is string. Valid values are:
|
||||||||||||||||||||||||||||||||||||||||
| label | No |
Internal use attribute of type string. Do not specify this attribute. The default is null.
|
||||||||||||||||||||||||||||||||||||||||
| override | No |
Whether or not this property overrides a Team Build property value. Valid values are true and false. The default is false. Code true when specifying a schedule override for a Team Build property.
|
||||||||||||||||||||||||||||||||||||||||
| required | No |
Internal use attribute of type boolean. Do not specify this attribute. The default is false.
|
||||||||||||||||||||||||||||||||||||||||
| scheduleOverride | No |
Whether or not this property is a schedule override. Valid values are true and false. The default is false.
|
||||||||||||||||||||||||||||||||||||||||
| wellKnown | No |
Internal use attribute of type boolean. Do not specify this attribute. The default is false.
|
||||||||||||||||||||||||||||||||||||||||
Code enginePropertyCopy elements to identify which properties are to be copied during a updateBuildEngine task. When the updateBuildEngine task propertyCopy attribute is set to true each property identified will have its value copied into the specified Ant property prior to any updates. The enginePropertyCopy facility can be used to save, update, and then restore build property values during a build.The following table describes the valid values for the enginePropertyCopy element attributes:
| Build Property Copy Element | ||
|---|---|---|
| Attribute | Required | Description |
| copy | Yes | Name of the build property to copy. Any valid build property can be copied: Configuration Properties, Team Build Properties, and Build Properties. |
| name | Yes | Name of the Ant property to create with the copied value. |
The following sections describe how to define the various configuration properties used in an engine definition. Each section describes an engine definition sub-element that can be specified within the createBuildEngine or updateBuildEngine element. These sub-elements are used to define information required by an engine configuration element. Each engine definition sub-element represents a corresponding engine configuration element. Not all configuration elements are applicable to a type of engine. Refer to Build Engine Reference to determine which elements are valid for the engine you are defining.
All engine configuration properties support the standard property attributes, but most attributes are ignored as the values for the attributes are set internally and can not be overridden. The following table describes the attributes and what affect, if any, specifying the attributes has on the engine property itself.
| Configuration Properties | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Attribute | Required | Description | ||||||||||||
| name | Yes | Name of the configuration property. Valid names are described in each of the following sections. | ||||||||||||
| value | Yes |
Value of the configuration property. Valid values and restrictions are described in each of the following sections. Restrictions on the valid values are noted in the value column. The restrictions noted are as follows:
|
||||||||||||
| asis | No |
Valid values are: true and false. The default is false. Specifying this attribute will control how the property is resolved.
|
||||||||||||
| description | No | This attribute is ignored. | ||||||||||||
| genericEditAllowed | No | This attribute is ignored. | ||||||||||||
| kind | No | This attribute is ignored. | ||||||||||||
| label | No | This attribute is ignored. | ||||||||||||
| override | No | This attribute is ignored. | ||||||||||||
| required | No | This attribute is ignored. | ||||||||||||
| scheduleOverride | No | This attribute is ignored. | ||||||||||||
| wellKnown | No | This attribute is ignored. | ||||||||||||
Code hdsnEngineProperty elements to specify configuration details for a Hudson/Jenkins build engine. The hdsnEngineProperty element accepts two attributes, name and value, which are both required. Other build properties can be referenced when specifying a value using the ${propertyName} format. The following table describes the valid values for the hdsnEngineProperty element attributes:
| Hudson/Jenkins Engine Properties | ||
|---|---|---|
| name | value | Description |
| com.ibm.rational.connector.hudson.authrequired |
truefalse
|
Authorization Required: Indicates whether or not Hudson/Jenkins requires userid/password to access the server. The default is false.
|
| com.ibm.rational.connector.hudson.password | Password: Password for the Hudson/Jenkins server if authorization required. | |
| com.ibm.rational.connector.hudson.url | URL: The URL where the Hudson/Jenkins server is located. | |
| com.ibm.rational.connector.hudson.userid | Userid: Userid for the Hudson/Jenkins server if authorization required. | |
| com.ibm.rational.connector.hudson.validateHostname |
truefalse
|
Validate Hostname: For SSL connections, match the certificate and URL hostname. The default is false.
|
| com.ibm.rational.connector.hudson.verifyCertificate |
truefalse
|
Verify the certificate: If true, for SSL connections, EWM server will verify the certificate provided by the Husdon/Jenkins server. The default value is true.
|
Code rbaEngineProperty elements to specify configuration details for a Rational Build Agent build engine. The rbaEngineProperty element accepts two attributes, name and value, which are both required. Other build properties can be referenced when specifying a value using the ${propertyName} format. The following table describes the valid values for the rbaEngineProperty element attributes:
| Rational Build Agent Engine Properties | ||
|---|---|---|
| name | value | Description |
| com.ibm.rational.buildforge.buildagent.hostname | Hostname: The URL where the Rational Build Agent server is located. | |
| com.ibm.rational.buildforge.buildagent.password | Password: Password for the Rational Build Agent server. | |
| com.ibm.rational.buildforge.buildagent.port | Port: The port for the Rational Build Agent server. The default port is 5555. | |
| com.ibm.rational.buildforge.buildagent.secure |
truefalse
|
Secure: Specify true if the Rational Build Agent has been set up for secure communication in the bfagent.conf file. The default is false.
|
| com.ibm.rational.buildforge.buildagent.secure.protocol |
DEFAULTTLSv1.2TLSv1.3
|
Secure Protocol: If Secure istrue, then specify the secure protocol to use. The default is DEFAULT.
|
| com.ibm.rational.buildforge.buildagent.userid | Userid: Userid for the Rational Build Agent server. | |
| com.ibm.rational.buildforge.buildagent.verifyCertificate |
truefalse
|
Verify the certificate: If true, for SSL connections, EWM server will verify the certificate provided by the Build Agent. The default value is true.
|
Code rbfEngineProperty elements to specify configuration details for a Rational Build Forge build engine. The rbfEngineProperty element accepts two attributes, name and value, which are both required. Other build properties can be referenced when specifying a value using the ${propertyName} format. The following table describes the valid values for the rbfEngineProperty element attributes:
| Rational Build Forge Engine Properties | ||
|---|---|---|
| name | value | Description |
| com.ibm.rational.connector.buildforge.hostname | Hostname: The URL where the Rational Build Forge server is located. | |
| com.ibm.rational.connector.buildforge.password | Password: Password for the Rational Build Forge server. | |
| com.ibm.rational.buildforge.buildagent.port |
Port: The port for the Rational Build Forge server. The default port is 3966. If Secure is true, then port 49150 is used.
|
|
| com.ibm.rational.buildforge.buildagent.secure |
truefalse
|
Secure: Specify true if the Rational Build Forge has been set up for secure communication in the buildforge_conf folder. The default is false.
|
| com.ibm.rational.buildforge.buildagent.userid | Userid: Userid for the Rational Build Forge server. | |
The following sections describe how to define the Team Build properties used in a build definition. Each section describes a set of Team Build properties that can be defined using the teamEngineProperty element. The teamEngineProperty element accepts two attributes, name and value, which are both required. Other build properties can be referenced when specifying a value using the ${propertyName} format.
Code as many teamEngineProperty elements as are needed to define the Team Build properties for the build definition. One teamEngineProperty element is needed for each Team Build property. Code the teamEngineProperty element within the createBuildEngine or updateBuildEngine element. Specify only those Team Build properties that are valid for the type of engine you are defining. The teamEngineProperty element is not required and may not be applicable to the type of engine you are creating. Refer to xxx to determine if teamEngineProperty elements are valid for the engine you are defining.
All Team Build properties support the standard property attributes, but most attributes are ignored as the values for the attributes are set internally and can not be overriden. The following table describes the attributes and what affect, if any, specifying the attributes has on the build property itself.
| Team Build Properties | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Attribute | Required | Description | ||||||||||||
| name | Yes | Name of the build property. Valid names are described in each of the following sections. | ||||||||||||
| value | Yes |
Value of the build property. Valid values and restrictions are described in each of the following sections. Restrictions on the valid values are noted in the value column. The restrictions noted are as follows:
|
||||||||||||
| asis | No |
Valid values are: true and false. The default is false. Specifying this attribute will control how the property is resolved.
|
||||||||||||
| description | No | This attribute is ignored. | ||||||||||||
| genericEditAllowed | No | This attribute is ignored. | ||||||||||||
| kind | No | This attribute is ignored. | ||||||||||||
| label | No | This attribute is ignored. | ||||||||||||
| override | No |
Valid values are: true and false. The default is false. Specify true for this attribute when updating restricted Team Build property values.
|
||||||||||||
| required | No | This attribute is ignored. | ||||||||||||
| scheduleOverride | No | This attribute is ignored. | ||||||||||||
| wellKnown | No | This attribute is ignored. | ||||||||||||
The following table describes the valid values for the teamEngineProperty element attributes for an Hudson/Jenkins build engine:
| Team Build Properties - Hudson/Jenkins Engine | ||
|---|---|---|
| name | value | Description |
| com.ibm.rational.connector.hudson.connectionTimeout | Connection Timeout: Specifies the time, in seconds, to timeout the connection if the Hudson/Jenkins server is slow to respond. The default is 30 seconds. | |
The following table describes the valid values for the teamEngineProperty element attributes for an Hudson/Jenkins build engine:
| Team Build Properties - Rational Build Forge Engine | ||
|---|---|---|
| name | value | Description |
| buildforge.socketTimeout | Socket Timeout: Specifies the time, in seconds, to timeout the connection if the Rational Build Forge server is slow to respond. The default is 30 seconds. | |
This section provides Ant script examples for each of the engine types.
This build engine registration represents a Jazz Build Engine or other process on a build machine that polls the repository for build requests.
This build engine registration represents a connection to an Hudson/Jenkins build system.
This build engine registration represents a Rational Build Agent process on a build machine that handles build requests.
This build engine registration represents a connection to Rational Build Forge.