Deployment-related Maven parameters
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:<your_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:<your_version>:help -Ddetail=true -s F:/<your_studio>/configuration/maven_user_settings.xml
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:
or
Example for projects with a final version:
or
|
|
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.workspace | Specifies the workspace created in your Talend Cloud account in which the project artifacts should be deployed.
Example:
|
|
(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.
|
|
(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.
|
|
Docker parameters | -Pdocker | Activates the plugin that allows you to publish to a Docker registry. |
-Ddocker.push.registry | Specifies the Docker registry where you want to share your image. | |
-Ddocker.push.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 Storing login credentials in Jenkins. |
|
-Ddocker.push.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 Storing login credentials in Jenkins. |