Use multiply "job-context-param" in commandline executeJobOnServer
Hello,
I deploy and launch a job to an Server with the commandline. I success to pass one context but not several.
My command with one context :
./Talend-Studio-linux-gtk-x86_64 -nosplash -application org.talend.commandline.CommandLine initRemote URL_TAC logonProject -pn Projet -ul Login -up Psw deployJobToServer Job -es ServerExec -jv JobVersion -jc Context -jactc -un Login -pd Psw executeJobOnServer Job -jcp name=file_test.csv
My command with two contexts :
./Talend-Studio-linux-gtk-x86_64 -nosplash -application org.talend.commandline.CommandLine initRemote URL_TAC logonProject -pn Projet -ul Login -up Psw deployJobToServer Job -es ServerExec -jv JobVersion -jc Context -jactc -un Login -pd Psw executeJobOnServer Job -jcp "name=file_test.csv new1=pm"
When I have several contexts I have this error : "Unexpected new1=pm while processing"
What is the good syntax for doing that ??
Hi Carole
The command should be like this.
./Talend-Studio-linux-gtk-x86_64 -nosplash -application org.talend.commandline.CommandLine initRemote URL_TAC logonProject -pn Projet -ul Login -up Psw deployJobToServer Job -es ServerExec -jv JobVersion -jc Context -jactc -un Login -pd Psw executeJobOnServer Job -jcp name=file_test.csv new1=pm
There is no double quotation.
Regards,
Pedro
Hi Pedro,
It doesn't work with this syntax. I have the same error :
"Unexpected new1=pm while processing"
(I've changed the name of my second context variable. new1 become suffix)
:-S it doesn't work yet.
I have this error :
Unexpected value "suffix=pm" found while processing -jcp
That's strange, I don't find any example of the same case in Talend documentation...
Do you think it's a bug ?