You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

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 ??
Thank you,
Carole
Offline

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
Offline

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)
Best Regards,
Carole
Offline

Hi Carole
Try this please. I'm sure it will work fine.
./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 -jcp new1=pm
Regards,
Pedro
Offline

:-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 ?
Thank you for your help,
Carole
Offline
Pages: 1