Reputation: 396
I am passing some values Jenkins to Talend to run job.
I would like to run different sub job if there is one input value and another job if there are 3 input values.
Is there a way I can do that in Talend ?
Upvotes: 0
Views: 147
Reputation: 2067
Use a tJava to analyze / verify how many parameters / input values you have, create a global variable that holds the type of the job, then using if links trigger the right job using tRunJob ((String)globalMap.get("jobToRun")).equals("single")
Upvotes: 1