Configure the pipeline script provided by Talend to deploy your artifacts to Talend Cloud Management Console.
- From the Jenkins home page, select TalendSimplePipeline.
- Click Build with Parameters on the left panel to open the pipeline configuration page.
In the MVN_GOALS parameter, define the Maven phase you
want to achieve, and make sure the profile stated is
For more information on the Maven phases, see the Maven documentation.Tip: All build profiles (-Pdocker, -Pnexus, etc.) are listed in the parent pom.xml file of your project. Some default parameters, like the Docker image name or the Open JDK name, can also be overwritten in this file.
Parameter Example of default value MVN_GOALS
For examples of filters you can apply to the execution of your project items, see Filtering the execution of your project on selected artifacts.
To define the Talend Cloud Management Console workspace and environment in which you want to deploy the project artifacts,
edit the Docker credentials stated in the
Parameter Example of default value TALEND_CI_BUILD_OPTIONS
-Dservice.url=https://tmc.eu.cloud.talend.com/inventory -Dcloud.token=XXX1234TalendCloudToken1234XXX -Dcloud.publisher.screenshot=true -Dcloud.publisher.environment=prod -Dcloud.publisher.workspace=ci-workspace
allows you to deploy artifacts (with screenshots) into a Talend Cloud account inside a workspace named ci-workspace on a prod environment. You need to specify your own Talend Cloud environment and workspace.
- Click Build to take your changes into account and build your artifacts.