Deployment-related Maven parameters - Cloud - 8.0

Talend Software Development Life Cycle Best Practices Guide

Version
Cloud
8.0
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-29

These parameters allow you to deploy your artifacts to an artifact repository, to Talend Cloud or to Docker.

  • To get the list of Cloud-related Maven parameters as inline help during build time, execute this command:
    mvn org.talend.ci:cloudpublisher-maven-plugin:<version>:help 
    -Ddetail=true 
    -s F:/<your_studio>/configuration/maven_user_settings.xml
  • To get the list of Docker-related Maven parameters as inline help during build time, execute this command:
    mvn org.eclipse.jkube:kubernetes-maven-plugin:<version>:help 
    -Ddetail=true 
    -s F:/<your_studio>/configuration/maven_user_settings.xml 
Tip: To deploy your artifacts to multiple places at the same time (artifact repository, Talend Cloud, Docker), enter comma-separated values like -Pnexus,cloud-publisher.
Maven parameter Value
Artifact repository parameters -Pnexus (Activated by default unless a different profile is specified which deactivates it)

Activates the plugin that allows you to publish to your artifact repository (Artifactory, Nexus).

-DaltSnapshotDeploymentRepository and -DaltReleaseDeploymentRepository

OR

-DaltDeploymentRepository

When deploying to an artifact repository, specifies an alternative repository to which the project artifacts should be deployed.

Format: id::layout::url

Example for projects with a snapshot version:

-DaltSnapshotDeploymentRepository=snapshots::default::http://localhost:8081/repository/snapshots/

or

-DaltDeploymentRepository=snapshots::default::http://localhost:8081/repository/snapshots/

Example for projects with a final version:

-DaltReleaseDeploymentRepository=releases::default::http://localhost:8081/repository/releases/

or

-DaltDeploymentRepository=releases::default::http://localhost:8081/repository/releases/
Talend Cloud parameters -Pcloud-publisher Activates the plugin that allows you to publish to Talend Cloud.
-Dservice.url Specifies the Talend Cloud account in which the project artifacts should be deployed.

In the default script provided by Talend, the value corresponds to the ${CLOUD_URL} variable that is defined at the beginning of the script.

-Dcloud.token Specifies the access token generated for your Talend Cloud account.
-Dcloud.publisher.environment Specifies the environment created in your Talend Cloud account in which the project artifacts should be deployed.
Example:
-Dcloud.publisher.environment=PROD
-Dcloud.publisher.workspace Specifies the workspace created in your Talend Cloud account in which the project artifacts should be deployed.
Example:
-Dcloud.publisher.workspace=CI_WORKSPACE
(Optional)

-Dcloud.publisher.screenshot

Add this parameter with a true value if you want to publish the capture of the artifact to be deployed in your Talend Cloud account.
-Dcloud.publisher.screenshot=true
(Optional)

-Dcloud.publisher.updateFlow

Add this parameter with a true value if you want to create or update the corresponding Talend Management Console task when publishing a new artifact version into Talend Cloud.
-Dcloud.publisher.updateFlow=true
Docker parameters -Pdocker Activates the plugin that allows you to publish to a Docker registry.
-Djkube.docker.push.registry Specifies the Docker registry where you want to share your image.
-Djkube.docker.username Specifies the Docker user corresponding to the account that will log in to the Docker registry.

In the default script provided by Talend, the value corresponds to the ${env.Dusername} variable, that is the Docker user defined in the credentials stored in Jenkins.

-Djkube.docker.password Specifies the Docker password corresponding to the account that will log in to the Docker registry.

In the default script provided by Talend, the value corresponds to the ${env.Dpassword} variable, that is the Docker password defined in the credentials stored in Jenkins.

-Djkube.docker.host Specifies the hostname corresponding to the account that will log in to the Docker registry.