Generating a Job using the Talend CommandLine - 6.5

Talend Job Script Reference Guide

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
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
task
Design and Development > Designing Jobs
EnrichPlatform
Talend CommandLine
Talend Studio

Procedure

  1. Launch the Talend CommandLine.
  2. Connect to your repository with the initLocal or initRemote command.

    For example:

    initRemote http://localhost:8080/org.talend.administrator -ul admin@company.com -up admin

    The parameter values are given as examples and need to be replaced with your actual information (port, credentials). For more information on how to use these commands, see the help provided in the Talend CommandLine.

  3. Connect to your project and branch/tag with the logonProject command. If you do not know the name of your project or branch/tag, type in the listProject -b command first.

    For example:

    logonProject -pn di_project -ul admin@company.com -up admin -br branches/v1.0.0

    The parameter values are given as examples and need to be replaced with your actual information (project/branch/tag name, credentials). For more information on how to use this command, see the help provided in the Talend CommandLine.

  4. Type in the following command to generate a Job from your Job script:
    createJob NameOfJob -sf path\yourJobscript.jobscript

Results

The Job is created in your CommandLine workspace in the process folder: commandline-workspace\YourProjectName\process.