-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment variables passed to local execute are handled incorrectly #385
Comments
Additionally, passing single vars is also failing, for example:
|
Same issue here. Only first environment variable could be passed with command like |
This affects the |
Do you want to request a feature or report a bug?: bug
What is the current behavior?
Environment variables passed with
-e
tocircleci local execute
are incorrectly handled. It looks like they are treated as a single value and not being unpacked into the environment of the docker container.Can you provide an example?
Minimal example
config.yml
:Running
$ circleci local execute -e THIS=1 -e IS=1 -e UNEXPECTED=1
:Output
What is the expected behavior?
I expect the env vars to be unpacked one by one and
env
should output something like:Which version of the CLI and OS are you using?
Did this work in previous versions?
Yup! If remembering correctly, I have previously been able to pass env vars to jobs.
The text was updated successfully, but these errors were encountered: