Configuring variables and paths to third-party tools - 7.2

Talend Software Development Life Cycle Best Practices Guide

EnrichVersion
7.2
EnrichProdName
Talend Big Data
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
EnrichPlatform
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend JobServer
Talend Studio
task
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.