Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Jobs can be assigned variables from a number of sources.
    • Shell Jobs:
    • JVM Jobs: 
      • Job Arguments populated from constant values
      • Arguments populated e.g. from Order Variables
  • Assignment includes to consider use of JS7 - Expressions for Variables.
  • The article explains the sources of variables and the syntax for assignment.

...

  • Constant string values
    • This assignment type is e.g. used with Variable Declarations for workflows and with Node Arguments
    • Example:
      • GUI Displayinput: var1 = "value 1"
      • JSON format: "var1": "\"value 1\""
  • Expressions
    • This assignment type is used with Environment Variables, Job Arguments and Initialization Arguments
    • Example:
      • GUI Displayinput: var1 = $someVariable
      • JSON format: "var1": "$someVariable"

...