Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Build & Re-Import modified jobs

I'm facing few issues while moving the code to different environment.
With the help of BUILD JOB option, exported the Jobs entire folder and running those in different environment(without talend installation).
A)If any code change required for a particular job inside the folder, how i can build and re-import only that particular job? 
Folder structure is something like below.
      a)Test/Job1/items/....
      b)Test/Job1/src/...
      c)Test/Job1/project/Job1/contexts/Default.properties
      d)Test/Job1/Job1.jar
      e)Test/Job1/Job_run.sh
      f)Test/lib
B)Is there is any way to change the folder structure to keep it simple? 
C)Job_run.sh file has hard coded context parameters. I changed those and passed as arguments like $1, $2. If I need to modify some job, while re-importing, do i need to change the hard coded context?
Kindly help me, if there is any good approach followed for these cases. 
Thanks 
Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi 
We usually use context variables for the fields such as file path, DB parameters that might be changed in different environment, and pass new values to them when the job script is called out of studio. If you need to modify the job, you have to import the job item into talend studio and modify it, and then rebuild the job script.
Regards
Shong