hi all,
Bamboo version 6.3.2
I have injected a variable using the task Inject Bamboo variables, scope set as Result.
My properties file had only one value which i could see from the logs got inserted successfully.
but when I am trying to read the variable in the next stage, I am getting either an empty string or 'bad substitution'.
I am trying to read it from inline scripts as below.
#!/bin/bash
echo "${bamboo.inject.version}"
echo "${bamboo_inject_version}"
echo ${bamboo.inject.version}
echo ${bamboo_inject_version}
Hi @Abhijith Komarla ,
It seems you are running into a bug - https://jira.atlassian.com/browse/BAM-20359 - Variable "version" cannot be used as a Bamboo (Injected) variable.
Please, let us know if this describes the problem you are facing.
Kind regards,
Rafael
thanks Rafael.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.