Page History
...
- The purpose of Arguments is to parameterize the processing of an order.
- Constant values and Order Variables can be assigned.
Assignment of Base64 encoded Values
JVM jobs can hold arguments with string values of arbitrary length.
- If such arguments are forwarded to later shell jobs then they will be represented as environment variables that are limited in size (OS dependent).
- If such arguments include special characters such as carriage return, newline etc. then this can break representation as an environment variable.
Users can assign JVM jobs arguments of type string with base64 encoded values:
Plain Text Value | hello world |
---|---|
Base64 encoded Value | base64:aGVsbG8gd29ybGQK |
The prefix base64:
specifies the respective data type. JVM jobs will automatically decode bas64 encoded argument values.
Assignment Syntax Examples
The following assignment types are available:
...
Use with single quotes
Input 'some value'
Output some value
JSON "var": "'some value'"
Use with double quotes
Input "some value"
Output some value
JSON "var": "\"some value\""
For assignment of empty string values double quotes have to be used:Input ""
Output JSON "var": "\"\""
Use with double quoted values
Input "some \"quoted\" value"
Output some "quoted" value
JSON "var": "\"some \\\"quoted\\\" value\""
Use with double quoted and single quoted values
Input "some 'quoted' value"
Output some 'quoted' value
JSON "var": "\"some 'quoted' value\""
Use with
$
character from single quoted valuesInput 'some $dollar value'
Output some $dollar value
JSON "var": "'some $dollar value'"
Use with
$
character from double quoted valuesInput "some \$dollar value"
Output some $dollar value
JSON "var": "\"some \\$dollar value\""
Use with base64 encoded values
Input "base64:aGVsbG8gd29ybGQK"
Output base64:aGVsbG8gd29ybGQK
JSON "var": "\"base64:aGVsbG8gd29ybGQK\""
Examples for Variable References
...