You should be able to use spaces without any special characters in the global properties section.
For example, I set the variable "THIS_VAL" to the value "HAS SPACES".
My task of building the test was as follows:
#!/bin/bash set +v echo ${THIS_VAL} echo "${THIS_VAL}" echo $THIS_VAL
and there was a way out
[workspace] $ /bin/bash /tmp/hudson8126983335734936805.sh HAS SPACES HAS SPACES HAS SPACES Finished: SUCCESS
I think you need to do the following:
--platform="${VARIABLE_NAME}"
NOTE. Use double quotes, not single quotes . The use of single quotes makes the material inside the quotes literal, which means that any variables will be printed as is, and not analyzed in the actual value. Therefore, '$ {VARIABLE_NAME}' will be printed as is, not parsed in Windows 7.
EDIT: Based on @BobSilverberg's comment below, use the following:
--platform="$VARIABLE_NAME"
Note: no curly braces.
Sagar
source share