I have a pipeline variable called DeployPath
with bash script as a straight method I will be able to display the value of DeployPath
using
echo $(DeployPath)
so if the name of the variable is dynamic is their any way i will be able to access the variable value from Bash
eg
$var=DeployPath
echo $($var) // something like this it should display the value Corresponding to DeployPath
I am unable to find a solution for this..