Setting up your Account ID on CircleCI - Cloud

Talend Cloud API Tester Examples

Version
Cloud
Language
English
Product
Talend Cloud
Module
Talend API Tester
Content
Design and Development > Testing APIs
Last publication date
2024-03-15

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.
    The "Add Variable" button is displayed under "Environment Variables".
  2. Define a Name and enter your Account ID in the Value field, then click Add Variable.
    "Add an Environment Variable" window with the Name and Value configured.
  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 the circle.yml and pom.xml sample files in circleci.zip archive.