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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
tnewbie
Creator II
Creator II

Question on TOS-Build job

Hello All,

After we build a job for a specific environment, is there a way that i can use the same build to be run against a different environment?

Example, i built my job pointing to 'DEV' environment, can i use the same build(zip / .bat file) and be able to run the job against 'PROD' . I tried editing the .bat file and changing 'Default==' the environment i wish to run against, but that doesn't seem to work.

 

Any thoughts around this please?

Labels (2)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

Don't change anything in the script file, just add --context=yourContext to the command line, it works

View solution in original post

4 Replies
TRF
Champion II
Champion II

Add --context=yourContext at the end of the command line used to launch the .sh or .bat script
tnewbie
Creator II
Creator II
Author

Thanks for the response TRF...I tried that already, it didn't work. I realized that i spelled it wrong it wrong in my original post...Please read my original post as below

 

Hello All,

After we build a job for a specific environment, is there a way that i can use the same build to be run against a different environment?

Example, i built my job pointing to 'DEV' environment, can i use the same build(zip / .bat file) and be able to run the job against 'PROD' . I tried editing the .bat file and changing '--context==' the environment i wish to run against, but that doesn't seem to work.

 

Any thoughts around this please?

TRF
Champion II
Champion II

Don't change anything in the script file, just add --context=yourContext to the command line, it works
tnewbie
Creator II
Creator II
Author

Excellent...Many thanks TRF, it works.