Pedro Machado

12/21/2020, 5:37 AM
Hi. Question about
. I am running a flow using the docker agent and I am passing some env vars to the agent with the
-e var=value
option. I suppose these variables available to the shell task. Am I correct? or do I need to pass read them from the environment and pass them explicitly to the task?

Kyle Moon-Wright

12/21/2020, 4:43 PM
Hey @Pedro Machado, Yes this should be the case - a ShellTask should read the environment variables you’ve assigned through the Agent, however it’ll only pick up the
if the flow is picked up by that particular Agent.