Implementing the configuration file and Groovy script - 8.0

Talend Administration Center User Guide

Talend Big Data
Talend Big Data Platform
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
Talend Administration Center
Administration and Monitoring
Last publication date

To implement continuous delivery, you need to implement two files:

  • a configuration file that describes the list of tasks that are identified to be deployed into the concerned testing or other environments,
  • a Groovy script that uses this task description file to create the Base64 encoded message needed to invoke the MetaServlet API to create all the tasks in the Talend Administration Center portal.

About this task

The configuration file provides the required parameters for the MestaServlet APIs to manage the task (create, update, deploy) in a text format that a script file can parse and generate the necessary Metaservlet request API. The parameters are used to create Triggers for FileBased, Cron or Simple types. You can provide these parameters in different formats: txt, CSV, JSON.


  1. Create a file to provide the required parameters for the MetaServlet APIs to manage the task in Talend Administration Center.
    Use the task_list.json sample file as a starting point. JSON has been selected for its native support in Groovy.
  2. Structure the file layout to match the MetaServlet request parameters.
    For more information, see MetaServlet API commands.
  3. Save the file in a dedicated location, Git repository in this example.
    The Jenkins Job will check out this file.
  4. Install the Config File Provider Plugin to be able to create a managed file for the script.
  5. Create a managed file for Groovy Script as follows.

    The overall logic of the script is described below.

  6. Go to Global Tool Configuration and perform a Groovy installation.

    A Groovy installation is required to execute the Groovy script. You can perform a Groovy installation manually or on demand by Jenkins.