CircleCI config intermittently not reading environment variable set for Project

I added an environment variable with a repo url to my project.
The variable is used as : git clone $AUTH_CLONE_URL in my config.yml. Intermittently, it is not picked up by the config, and we get an error saying the git clone command is incomplete. Sometimes the tests pass when it gets populated in the command correctly.

Would someone know why this might be the case ?

Figured out the issue, the tests were failing for any PR submitted against the master branch. The variables contain sensitive information, and hence wouldn’t be loaded for these. I skipped the integration tests for anything that wasn’t merged in master branch, and everything runs fine now.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.