Changing context parameters in Jobs and Routes - 7.1

Talend Real-time Big Data Platform Studio User Guide

author
Talend Documentation Team
EnrichVersion
7.1
EnrichProdName
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend Studio

About this task

As explained in Building Jobs, you can edit the context parameters:

Procedure

  • If you want to change the context selection, simply edit the .bat/.sh file and change the following setting: --context=Prod to the relevant context.
  • If you want to change individual parameters in the context selection, edit the .bat/.sh file and add the following setting according to your need:

    Operation

    Setting

    To change value1 for parameter key1

    --context_param key1=value1

    To change value1 and value2 for respective parameters key1 and key2

    --context_param key1=value1 --context_param key2=value2

    To change a value containing space characters such as in a file path

    --context_param key1="path to file"