Storing your configuration files in Jenkins - 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

Before you begin

Retrieve these files from the Downloads tab of this page:
  • maven_settings.xml
  • jenkins_talend_helper.groovy

Procedure

  1. In Jenkins, navigate to Manage Jenkins > Managed files.
  2. Click Add a new config and select Maven settings to add the Maven configuration file.
  3. Give it a name and an ID, maven_settings. This ID will later be used in the Jenkins the pipeline script.
  4. In the Content editor, paste the content of the maven_settings.xml file you have previously downloaded.
    • The default Nexus artifactory URL defined in the file (line 40) is localhost:8080. Updated the value according to your environment.
    • For Big Data users with dynamic distributions only: add the following server and repository to the configuration file in order to define the Nexus local repository as proxy, ensuring faster .jar file downloading:

      <server>
          <id>dynamic-distrib</id>
          <username>admin</username>
          <password>Talend123</password>
      </server>
      <repository>
          <id>dynamic-distrib</id>
          <name>dynamic-distrib</name>
          <url>http://localhost:8081/repository/dynamic-distrib/</url>
          <layout>default</layout>
       </repository>

      For this configuration to be complete, you need to have previously added the Talend proxy in the Talend Studio Project settings > General > Dynamic Distribution Settings menu.

      For more information, see the documentation about how to add the latest Big Data Platform dynamically in Talend Studio User Guide.

  5. Click Submit.
  6. Click Add a new config and select Groovy to add the Jenkins helper configuration file.
  7. Give it a name and an ID, jenkins_talend_helper. This ID will later be used in the Jenkins pipeline script.
  8. In the Content editor, paste the content of the Groovy file and click Submit.
  9. Click Add a new config and select Custom to add your Talend license file.
  10. Give it a name and an ID, license. This ID will later be used in the Jenkins pipeline script.
  11. In the Content editor, paste the content of the license file and click Submit.

Results

These files contain the connection information to your artifact repositories, the definition of the pipeline steps as well as the license information. These files will be are referenced in the configuration of your Jenkins pipeline.