If a variable is called in a step but is undefined, the value returned depends on whether pre-parsing is turned on (default) or off. Pre-parsing behavior is set by editing the no_preparse command in the bfagent.conf file or the _NO_PREPARSE_COMMAND environment variable. See Trigger variables reference.
Variable format | Value returned - Pre-parsing on (default) | Value returned - pre-parsing off |
---|---|---|
echo %foo% | foo | Windows: %foo% UNIX or Linux: blank |
echo $foo | foo | Windows: $foo UNIX or Linux: blank |
echo ${foo} | foo | Windows: ${foo} UNIX or Linux: blank |
echo $[foo] | empty string | Windows: $[foo] UNIX or Linux: system error |