Cannot access env vars through SSH

envars

#1

I’m running a command in circle.yml that uses a sensitive environment variable which I’ve set through the dashboard. The command is failing, and I’m trying to figure out why by running the build with SSH turned on. However, when I’m on the machine, the environment variable does not appear to be set: echo $MY_VAR is empty.


#2

Does this happen to be a fork of another project?


#3

I have the same problem. Environment variables set via dashboard are not available with env command when SSH’d in to the build machine.

The project is not a fork (not sure why that would be relevant, though).


#4

I have the same issue… environment variables aren’t set when I ssh into the build machine.


#5

Yeah same here. Can’t seem to access env vars set through the dashboard.


#6

feel bad to ping it up too, but stuck with the same one


#7