Configuring variables and paths to third-party tools - Cloud

Talend Software Development Life Cycle for Cloud - Best Practices Guide

Version
Cloud
Language
English (United States)
Product
Talend Cloud
Module
Talend Artifact Repository
Talend Management Console
Talend Studio
Content
Administration and Monitoring
Deployment
Design and Development
How to store the environment variables and paths to the third-party tools needed to run your Jenkins pipeline (JDK/OpenJDK, Maven).

Procedure

  1. Navigate to Manage Jenkins > Configure System.
  2. In the Global properties > Environment variables area, add the environment variables corresponding to the following tools:
    • Java or OpenJDK
    • Maven: name the variable MAVEN_HOME, this name will be used in the pipeline script
    • M2 Maven repository: name the variable M2_HOME, this name will be used in the pipeline script
      Tip: This variable value corresponds to the <studio_path>/configuration/.m2/repository folder.
  3. Click Save to take the changes into account.
  4. In the Global Tool Configuration > Maven area, add the M3 Maven tool:
    1. Click Add Maven.
    2. Name the tool M3, this name will be used in the pipeline script.
    3. Enter the path to your Maven installation directory in the MAVEN_HOME field.
  5. Click Save to take the changes into account.