Setting up your Account ID on CircleCI - Cloud

Talend Cloud API Tester Examples

EnrichVersion
Cloud
EnrichProdName
Talend Cloud
EnrichPlatform
Talend API Tester
task
Design and Development > Testing APIs

Set up and manage your Account ID securely.

Test scenario automation through Maven is a paying feature, so you need to enter your Talend Cloud Account ID. Your ID is private to you and should not be published on a GitHub repository. A simple way to securely manage your Account ID is to add it as an environment variable in the Circle CI project settings.

Procedure

  1. Go to Projects > Environment variables, click Add Variable.
  2. Define a Name and enter your Account ID in the Value field, then click Add Variable.
  3. Update your circle.yml to use the environment variable.
    machine:
      java:
        version: openjdk8
    test:
      override:
        - mvn test -Daccount_id=$ACCOUNT_ID
  4. Use this property in your pom.xml.
    <accountId>${account_id}</accountId>

    Example

    You can find sample circle.yml and pom.xml files in circleci.zip in the Downloads tab on the left panel of this page.