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
-
Go to , click Add Variable.
-
Define a Name and enter your
Account ID in the Value field, then click
Add Variable.
-
Update your circle.yml to use the
environment variable.
machine:
java:
version: openjdk8
test:
override:
- mvn test -Daccount_id=$ACCOUNT_ID
-
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.