Hi, I setup newman to run my collections in gitlab pipeline. I wanted to allow the user to set a value for a Gitlab environement variable before running my newman test pipeline. I am wondering is there a possible way for newman to inject a gitlab variable and his value into the environment.json?
If you have the placeholder {{Access_Token}} in your Collection already, you don’t need to use an environment file with the command as it would resolve that to the value set in the --env-var flag.
Each CI tool has its own syntax it uses for variables and most are only uppercase - I’d be surprised it your one would work but you could also try echoing out the variable in the CI Tools console to ensure it’s resolving it correctly.