IBM DevOps Control - Usage
To use the IBM DevOps Control plug-in, the plug-in must be loaded, and an instance created before you can configure the plug-in integration. You define configuration properties in the user interface or in a JSON file.
Integration type
The IBM DevOps Control plug-in supports scheduled events integration which are listed in the following table.
Name | Description | Synchronization Interval |
---|---|---|
syncControlPullRequestsEvent | Queries the IBM DevOps Control repository for pull requests. | 5 Minutes |
syncControlCommitsEvent | Queries the IBM DevOps Control repository for commits. | 5 Minutes |
Integration
To install the plug-in, perform the following steps:
- In IBM DevOps Velocity, click Settings > Integrations > Available.
- In the Action column for the IBM DevOps Control plug-in, click Install.
There are two methods to integrate the plug-in:
- Using the user interface
- Using a JSON file
The tables in the Configuration Properties section describe the properties used to define the integration.
Integrating the plug-in by using user interface
The tables in the Configuration properties topic describe the properties used to define the integration.
To integrate the plug-in using the user interface, perform the following steps:
- In IBM DevOps Velocity, click Settings > Integrations > Installed.
- In the Action column for the IBM DevOps Control plug-in, click Add Integration
- On the Add Integration dialog, enter the values for the fields to configure the integration and define communication.
- Click Add.
Integrating the plug-in by using JSON file
The JSON file contains the information for creating a value stream. Within the JSON file is a section for integrations. It is in this section that plugin properties can be defined. Refer to the JSON sample code in the Configuration Properties section.
To integrate the plug-in using a JSON, perform the following steps:
- Navigate to value stream page, and then click the necessary value stream.
- Click wrench icon, and then Select Edit value stream to modify the JSON file in the code or tree view editors. Alternatively, you can also click Download JSON option to download the JSON file, and then select the Import JSON option to upload the revised JSON file.
- Edit the integration information in the JSON file to add the plug-in configuration properties. Refer to JSON sample code in the Configuration Properties for more details.
- Click Save.
Minimum permission to integrate with IBM DevOps Control
The access token generated from IBM DevOps Control server requires the full control of repositories permission to connect to the Control.
Configuration properties
The following tables describe the properties used to configure the integration. Each table contains the field name when using the user interface and the property name when using a JSON file.
- The General Configuration Properties table describes configuration properties used by all plug-in integrations.
- The IBM DevOps Control Configuration Properties table describes the IBM DevOps Control configuration properties that define the connection and communications with the IBM DevOps Control server.
Some properties might not be displayed in the user interface, to see all properties enable the Show Hidden Properties field.
General Configuration Properties table
Name | Description | Required | Property Name |
---|---|---|---|
NA | The version of the plug-in that you want to use. To view available versions, click the Version History tab. If a value is not specified, the latest version is used. | No | image |
Integration Name | An assigned name to the value stream. | Yes | name |
Logging Level | The level of Log4j messages to display in the log file. Valid values are all, debug, info, warn, error, fatal, off, and trace. | No | loggingLevel |
NA | List of configuration properties used to connect and communicate with the IBM DevOps Control server. Enclose the properties within braces. | Yes | properties |
NA | The name of the tenant. | Yes | tenant_id |
NA | Unique identifier assigned to the plug-in. The value for the IBM DevOps Control plug-in is ucv-ext-control. | Yes | type |
DevOps Velocity User Access Key | An auto-generated user access key provides credentials for communicating with the IBM DevOps Velocity server. | Yes | NA |
IBM DevOps Control Configuration Properties table
Name | Type | Description | Required | Project Name |
---|---|---|---|---|
API URL | String | The URL to the REST API for the IBM DevOps Control instance. | Yes | apiUrl |
Owner | String | The owner’s name of the IBM DevOps Control repository. | Yes | owner |
Repositories | Array | Comma separated list of IBM DevOps Control Repository names (separated by comma). | Yes | repositories |
Branch | String | IBM DevOps Control repositories branch, the branch to pull commits from. | No | branch |
Personal access token | String | The token to use to authenticate with the IBM DevOps Control repository. | Yes | token |
Additional branches | Array | Comma separated additional branches to collect commits from besides the main one, leave blank if not needed. | No | otherBranches |
Proxy Server | String | The URL of the proxy server including the port number. | No | proxyServer |
Proxy User Name | String | The username used to authenticate with the proxy server. | No | proxyUsername |
Proxy Password | String | The password used to authenticate with the proxy server. | No | proxyPassword |
JSON code example
The following sample code can be used as a template to define the integration within the JSON file for a value stream. Copy and paste the template into the JSON file Integration section and make the appropriate changes.
"integrations":[ {
"type":"ucv-ext-control",
"tenant_id":"tenant-id",
"name":"control-integration-name",
"properties":{
"owner":"owner-name",
"repositories":[
"repo1",
"repo2",
"repo3"
],
"apiUrl":"control-api-url",
"token":"generated-token",
"ucvAccessKey":"generated-access-key",
"proxyServer": "*proxy_server_url*",
"proxyUsername": "*proxy_server_user_name*",
"proxyPassword": "*proxy_server_password*"
}
} ]
Back to … | Latest Version | IBM DevOps Control | |||
---|---|---|---|---|---|
All Plugins | Velocity Plugins | 1.0.4-File 1 and 1.0.4-File 2 | Readme | Overview | Downloads |