CI/CD variables are ignored
I have declared a variable AZURE_CLIENT_ID
under Settings > CI/CD > Variables. Later, when I use this variable in a script in .gitlab-ci.yml
like this:
echo "${AZURE_CLIENT_ID?azure client id is not defined}"
The output is:
bin/bash: line 86: AZURE_CLIENT_ID: client id is not defined
This is not a typo (I copied the name of the variable from how it appears in the settings web interface, and inserted it into CI script w/o change).
This is not the only variable that behaves like this. A bunch of other variables do too, but the behavior is random: in some repositories, or even in some branches of the same repositories, the variables appear to be defined, in others--no such luck.