I have a Script task in my Deployment project that executes some shell commands. I want this shell command to have access to a Bash environment variable (Not a Bamboo variable).
If I was running this script manually at the command line I would export the variable in my .bashrc and it would be available to the script. How can I achieve the same thing when the script is running inside Bamboo?
I've already added the variable to the .profile but it doesn't get picked up when the task is running inside Bamboo. Is there any other change that needs to be made? Do I need to restart the Bamboo server?
Just to clarify - this is an _inline_ Script task running as part of a Deployment project
Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events