Hi! I’m working on migrating from CircleCI 1 to 2 for one of our projects. The only problem I’m having now is that my environment variables which references other variables (CIRCLE_BRANCH in my case) isn’t outputed right.
For example, I have a variable named TEMP_VAR with value foobar/${CIRCLE_BRANCH}. Referencing this in my config, it outputs simply foobar/${CIRCLE_BRANCH} without replacing CIRCLE_BRANCH with the current branch name.
Reading from the Environment Variables settings page it says that “The values can be any bash expression and can reference other variables, such as setting M2_MAVEN to ${HOME}/.m2)”. So I can’t figure out what is wrong in my case?
Did anyone run in to this problem as they migrated, or know what I’m missing here?
Thanks