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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Deploy the job in production environment

Dear Experts,

I am using Talend open studio to develop some jobs in dev server. when i build the job it is generating a .zip files and inside there so many folders.

But, how to move the jobs to production environment and create cron/windows task to schedule the job?

? all folders are must or only .jar and .sh/.bat files enough?

? what are the files are required to run the job in production from the .zip complied file

 

Thanks in advance

 

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

Yes you need to place all the folders and files.

View solution in original post

8 Replies
manodwhb
Champion II
Champion II

You need to create different environment context groups like Dev,Uat and Prod in the studio.

After you build .sh will have the default one which you have selected or used while you building.

--context=Dev in .sh file.when you moved to production you need to edit .sh file to change the Dev to Prod. And you can change the value for specific environment value by going into context folder files.
Anonymous
Not applicable
Author

Thank you Mano.

My questions is, when i build the job the output of the build is .zip file. but there are so many folders and files inside the zip, for ex.

 

test_0.1 (main folder after extracting from .zip)

   jobinfo.properties (file)

   lib (folder)

   test (folder)

    items (folder and it contains many sub folder and files)

    log4j.xml (file)

    src (folder and it contains many sub folder and files)

    test (folder and it contains many sub folder and files)

    test_0.1.jar

    test_run.bat

    test_run.sh

    test_run.ps1

 

 

? Should all folders and files are must required in production environment to run the job(via scheduler)

 

 

 

 

 

 

 

manodwhb
Champion II
Champion II

when you moved to production you need to take. Zip file and you need to extract that zip file.
Anonymous
Not applicable
Author

yes, there are many folders and files inside the extracted zip file. are they all must be placed in prod server?

manodwhb
Champion II
Champion II

Yes you need to place all the folders and files.
Anonymous
Not applicable
Author

This doesnt seem to be correct. I see .java files and item files generated when the zip folder is extracted. The Item files are not needed for job execution but only for the studio and why in the world would we need .java files to be deployed. the jar contains the relevant .class files that are needed. We clearly do not need all the files to be moved to higher environments for job executions

Anonymous
Not applicable
Author

Dear AnonSoul,

 

Can you please advise, what are the folders/files must need to move prod environment?

 

 

Anonymous
Not applicable
Author

I am a noob to talend (started a month ago) working on automating our current build process and I am too looking for an appropriate answer to this question. I stumbled upon your question while searching for the right path around this. Unfortunately haven't yet gotten a good way around it.