Skip to main content Skip to complementary content

Changing context parameters in Jobs and Routes

About this task

As explained in Building Jobs, you can edit the context parameters:

Procedure

  • If you want to change the context selection, edit the .bat or .sh file and change the --context=Prod parameter to the relevant context.
  • If you want to change individual parameters in the context selection, edit the .bat or .sh file and add the following settings according to your needs:
    • To change value1 for parameter key1:
      --context_param key1=value1
    • To change value1 and value2 for respective parameters key1 and key2:
      --context_param key1=value1
      --context_param key2=value2
    • To change a value containing space characters such as in a file path:
      --context_param key1="path to file"
    Note that this way of calling context parameters does not apply to Docker and Kubernetes parameters, see Executing ESB artifacts on Kubernetes for an example of context parameter used to change Docker and Kubernetes parameter values when building Routes.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!