Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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!
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
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