YAML variables aren't interpolated in `cmd` values

In my pipeline yaml file, when I use a variable (i.e. ${{myVar}}) in the cmd property of a freestyle step, it is not interpolated. Rather, my entrypoint receives the string literal "${{myVar}}". If myVar was equal to the string literal "hello", I would expect my entrypoint to simply receive the string literal "hello".


Yes, this is correct. This is how it should work. Variables with double brackets will be expanded in all parts of the pipeline.

It is hard to diagnose this unless we look at your pipeline. Please open a ticket with support so that our team can investigate. Please include the URL of the build that has the issue.