Environment inheritance

Before the system runs a step, it creates the step environment. The step environment consists of all variables applicable to the step. The variables are inherited from the server environment, project environment, and step environment, in that order. The following is the basic case:

  1. Server environment: Server environment variables are copied to the step environment.
  2. Project environment: Project environment variables are applied to the step environment. If the project environment contains a variable of the same name as a variable in the server environment, the value is updated according to the Variable Action in both variable definitions.
  3. Step environment: Step environment variables are applied to the step environment. If a variable in the step environment has the same name as a variable inherited from the server and project environments, the value is updated according to the Variable Action.
Note: Java™ MJC supports different environment inheritance from the Perl engine. In Java MJC, the variables are inherited from the project environment, server environment, and step environment, in that order.
The variable action for a variable directly affects how values are applied as they are inherited. For example:

Feedback