Hello, I have to pass as a variable a password containing one single backtick (`) in the middle. By passing it as a variable in my Bamboo plan and making export PASS=${bamboo.password} to utilize it in the job I face an error ''Syntax error: EOF in backquote substitution'' which comes from this backtick. I can not escape it because it is a password, and I don't know how to bypass this problem. Any help is appreciated.
Found the solution thanks to @Daniel Santos
How to avoid this?
Use a different variable formating.
We have two ways to mention a variable:
${bamboo.<variableName>}Evaluated before the build
$bamboo_<variableName>Available only when the bash script is run
Hello @Valiantsin Lutchanka
Welcome to Atlassian Community!
The ${variable} format is an imposition of the shell and Bamboo should follow it to be allowed to use special characters.
This is also documented here:
Thank you,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.