I have a script task in Bamboo where I create a random password, and I'm trying to store it in an environment variable so I can access it in another task in the same pipeline. I create the password in the first task and can see it with an echo, but in the next script task, I do an "echo" of that variable, and the log produces a blank line. Is there a way to make a env variable accessible by another task
First Task - Script Body
pw=$(openssl rand -base64 15)
export DEVICE_PASSWORD=$pw
Second Task - Script Body
echo $Device_PASSWORD