-
Type:
Suggestion
-
Resolution: Fixed
-
None
-
Component/s: User Interface
-
None
On the /deploy/config/configureEnvironmentVariables.action screen, there is explanation text:
Define variables to be used by your deployment tasks. You can use any of the keys below in your task configuration or scripts and it will be automatically substituted with the value. You can override global variables by using the same key.
For task configuration fields, use the syntax ${bamboo.myvariablename}. For inline scripts, variables are exposed as shell environment variables which can be accessed using the syntax $BAMBOO_MY_VARIABLE_NAME (Linux/Mac OS X) or %BAMBOO_MY_VARIABLE_NAME% (Windows).
Testing reveals that the variables being set are actually accessed via $bamboo_MY_VARIABLE_NAME in the shell (case matters).
I have not tested on Windows to determine whether the case matters there, although it is unlikely.