I have set an environment variable on my Linux remote agent by editing /etc/environment. I verified that the variable is set using printenv.
When I run a task on the agent, this variable is not available. I tried running an inline script task which executed printenv, and it looks like most environment variables are not available.
How can I access my environment variable from a Bamboo task?