Talend custom Maven build options - Cloud - 7.3

Talend Software Development Life Cycle Best Practices Guide

Version
Cloud
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend JobServer
Talend Management Console
Talend Remote Engine
Talend Studio
Content
Administration and Monitoring
Deployment
Design and Development
Last publication date
2024-02-08
Maven options you can pass when building, executing, and publishing artifacts on your Continuous Integration server.
Note: There are three types of Maven parameters that you can use in your builds:
  • The generic build parameters used by the Talend CI Builder plugin.
  • The parameters related to deployment used by the Talend CI Builder and Cloud publisher plugins.
  • The other Talend parameters that are not defined in the CI Builder plugin.
Talend leverages a standard Maven-based Continuous Integration (CI) implementation. A CI Maven command typically looks like this:
mvn \
        -f <project name>/poms/pom.xml \
        -am -pl <comma separated list of jobs modules> \
        -Dgeneration.type=local
        -Dproduct.path=<CommandLine path>
        -Dlicense.path=<license local path or url> \
        -Dupdatesite.path=<update site local path> \
        -Dpatch.path=<patch local path or url>
        -Pcloud-publisher
        -Dservice.url=<talend cloud service url>
        -Dcloud.token=<talend cloud personal access token>
        -Dcloud.publisher.screenshot=<true or false>
        -Dcloud.publisher.environment=<name of your existing Cloud environment> 
        -Dcloud.publisher.workspace=<name of your existing Cloud workspace>
clean deploy
Example:
mvn -f C:/CI_CD/MYPROJECT/poms/pom.xml clean deploy -fae -e -pl jobs/process/priorTest_0.1 -am 
        -Dlicense.path=C:/CI_CD/license 
        -Dupdatesite.path=http://localhost:8080/P2/ 
        -Dpatch.path=D:/patches/Patch_TPS-2222.zip 
        -Dproduct.path=C:/Talend/studio 
        -Dproject.distributionManagement.snapshotRepository.url=http://localhost:8081/repository/snapshots/ 
        -Dproject.distributionManagement.snapshotRepository.id=snapshots 
        -DaltDeploymentRepository=snapshots::default::http://localhost:8081/repository/snapshots/
        -Pcloud-publisher
        -Dservice.url=https://tmc.eu.cloud.talend.com/inventory/
        -Dcloud.token=XYourPersonalAccessCloudTokenX 
        -Dcloud.publisher.screenshot=true 
        -Dcloud.publisher.environment=dev-ci 
        -Dcloud.publisher.workspace=ci-workspace