I have a need to be able to update a environment variable from the linux gocd agents . This environment variable should be accessible from within any pipeline that runs on the agent. Documentation i have read so far talks about using the environment variables created in the gocd environment. However this is not my requirement.
I have tried the following steps so far: 1. Logged into the agent as go user and set an environment variable ( export VARA=XXX) ; 2. Tried to echo this variable from a pipeline in gocd that prints this variable, in vain. 3. Also tried specifying the variable in bash_profile, bashrc and executed the source command in the same gocd task that echoes the variable For some reason, gocd pipeline doesnt seem to see this variable. Please let me know if you have any pointers. -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
