Change By: Geoff Cummings (26/Nov/12 12:17 PM)
Description: The RunParameter creates 2 environment variables which contain a '.' character.

I cannot reference these environment variables from a bash script due to this character.

env
PARAMETER_NAME PARAMETER_X =http://xxx/jenkins/job/ASE_CI/2072/
PARAMETER_NAME PARAMETER_X .number=2072
PARAMETER_NAME PARAMETER_X .jobName=ASE_CI

echo ${PARAMETER_NAME.number}
${PARAMETER_NAME.number}: bad substitution 


Can you also create environment variables which use an underscore?
PARAMETER_NAME PARAMETER_X
PARAMETER_NAME_NUMBER PARAMETER_X_NUMBER
PARAMETER_NAME_NAME PARAMETER_X_JOBNAME
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to