Skip to the content.

CircleCI - Usage

To use the CircleCI plug-in, you must load the plug-in, and then configure the plug-in for integration. You can define the Configuration properties by using the product user interface or a JSON file.

Integration type

The CircleCI plug-in supports the following scheduled events integration.

Name Description
SyncCCPipeline Synchronize CircleCI pipeline data.

Integration

You can integrate the plug-in in two ways:

The tables in the Configuration properties topic describe the properties that you use to define the integration.

Using the user interface

  1. From the Plugins page, click Settings > Integrations > Plugins.
  2. Under the Action column for the plug-in, click Add Integration.
  3. On the Add Integration page, enter values for the fields for configuring the integration and defining communication.
  4. Click Save.

Using a JSON file

The JSON file contains the information for creating a value stream. The JSON file includes a section for integrations. It is in this section, you can define plug-in properties can be defined.

  1. From a value stream page, download the value stream map. The value stream map is a JSON file that defines integrations.
  2. Edit the JSON file to include the plug-in configuration properties.
  3. Save and upload the JSON file. This action replaces the current JSON file with the new content.
  4. View the new integration on the Integrations page.

Configuration properties

The following tables describe the properties you use to configure the integration. Each table contains the field name from the user interface and the property name in a JSON file.

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 A name that you assign 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 A list of configuration properties for connecting and communicating with the GitHub server. Enclose the properties in braces. Yes properties
  The name of the tenant. Yes tenant_id
NA A unique identifier assigned to the plug-in. The value for the GitHub plug-in is ucv-ext-circleci Yes type

CircleCI Configuration Properties table

Name Type Description Required Project Name
Access Token String The access token to authenticate with CircleCI. Yes accessToken
Branch String The GitHub repository branch to pull commits. No branch
Organization Name String The username or organization name in the version control system. Yes orgName
Project type (VCS provider) String The version control system that is used, eg: github, bitbucket. Yes projectType
Proxy Password String The password used to authenticate with the proxy server. No proxyPassword
Proxy Server String The URL of the proxy server including the port number. No proxyServer
Proxy User Name String The user name used to authenticate with the proxy server. No proxyUsername
Repositories Array A comma seperated list of repositories from which to import pull requests, commits, and build data. Yes repositories
API URL String API URL of CircleCI. Yes apiUrl

JSON code example

You can use the following example as a template to define the integration within the JSON file for a value stream. Copy and paste the template into the JSON file and make the appropriate changes.


"integrations": [
    {
      "type": "ucv-ext-circleci",
      "tenant_id": "tenantid",
      "name": "CircleCI_Plugin ",
      "properties": {
        "apiUrl": "circleci_server_url",
        "velocityAccessKey": "velocity_access_key",
        "accessToken": "circleci_access_token",
        "projectType": "circleci_projct_type",
        "orgName": "circleci_org_name",
        "repositories": [
          "CiecleCI-Project"
        ],
        "proxyServer": "proxy_server_url",
        "proxyUsername": "proxy_server_user_name",
        "proxyPassword": "proxy_server_password"
      }
    }  ]

Back to …   Latest Version CircleCI    
All Plugins Velocity Plugins 1.0.24 Readme Overview Downloads