Skip to main content Skip to complementary content

Setting up your Account ID on Travis CI

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 Travis CI settings.

Procedure

  1. In your Travis CI project settings, go to the Environment Variables section, define a Name and enter your Account ID in the Value field, then click Add.
    The Account ID is defined in the Environment Variables section.
  2. Run the following script to pass the variable to Maven.
    script:
    - mvn test -Daccount_id=$ACCOUNT_ID
  3. Use this argument in your pom.xml configuration.
    <accountId>${account_id}</accountId>

    Another valid option would be to store it as an encrypted string in your .travis.yml file.

    Example

    You can find sample travis.yml and pom.xml files in the travis_ci.zip archive.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!