Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
avnishjain
Contributor

createJob cli command fails with error.

I have a local jobscript created, and i want to import that jobscript in Talend. 

Please tell me how can i do it using CLI. I tried it on remote and local projects, but each time createJob command is failing with error Script file is not existed.

 

I'm trying to run createJob command from Talend CLI and I follow below commands:

1. initRemote http://<TAC_Server_IP>:8080/org.talend.administrator -ul <TAC_ID> -up <TAC_Password>

2. logonProject -pn <Project_Name> -ul <TAC_ID> -up <TAC_Password> -br <bitbucket_branch_name>

3. listProject -b

Command 3 shows me all available branches in bitbucket repo. 

But when i run the command

4. createJob myjob -o -sf <File_Path>

RESULT:

FAILED at Tue Nov 27 13:17:21 AEDT 2018
exception : org.talend.commandline.client.command.CommandStatusWrapException: java.lang.IllegalArgumentException: Script file is not existed

 

 

Later i tried running createJob with local project and the result was same.

1. initLocal logonProject  -pn TestProject -ul <Talend ID>

2. initLocal logonProject  -pn TestProject -ul <Talend ID>

3. createJob myjob -sf C:\Talend-Studio-20180411_1414-V7.0.1\workspace\PARQUET\code\jobscripts\myTestJobScript_0.1.item

RESULT:

FAILED at Tue Nov 27 15:43:55 AEDT 2018
exception : org.talend.commandline.client.command.CommandStatusWrapException: java.lang.IllegalArgumentException: Script file is not existed

 

Thanks.

 

Labels (3)
0 Replies