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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
FPenco1666863018
Contributor II
Contributor II

Does the command line --context=(dev/prod/...) also apply to sub-jobs?

Hello,

My query is relatively straightforward:

In my deployments, I use various contexts. Currently, for instance, I construct my job using the 'dev' context (by checking the "Apply context to child jobs" box), and I follow the same process when deploying the 'prod' version.

To streamline deployments, if I specify the context in the command line --context=(dev/prod), will it also apply to child jobs?

I had another thought: to duplicate the job folder and modify the context value in the jobinfo.properties and in the .sh file. Would this method work as well?

Thanks for answer!

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi

Yes, specify the --context=context value will also apply to child jobs for the same context variables which exist in both main job and child job, if the context variables only exist in child job, these context variables will use the default context.

 

Regards

Shong

View solution in original post

1 Reply
Anonymous
Not applicable

Hi

Yes, specify the --context=context value will also apply to child jobs for the same context variables which exist in both main job and child job, if the context variables only exist in child job, these context variables will use the default context.

 

Regards

Shong