Override Environment Variables with Parameterized Builds


I’ve got a project with an environment variable set (in Project Settings) as a default.

I am doing a parameterized build and trying to override this variable’s setting. As the container starts up, it appears in the status that the variable has my setting, but this is not actually true. If I trigger the parameterized build with SSH and remote in and echo the environment variable, it shows the default.


We had a similar problem where we need the APP_ENV in a build.

The parameterised build sets it to live which the job picks up.

Then we default it to staging in our circle.yml.

make build -e APP_ENV=${APP_ENV:-staging}

Example: https://github.com/vidsy/showcase-static-assets/blob/master/circle.yml#L17