I’ve spent several hours this week because buildkite and bash both $
to reference variables (in my use case, I need to support both of them, so I can’t simply turn off buildkite’s interpolation). It would be really helpful to be able to reference bash vars in the traditional way and buildkite vars with a different character (%
comes to mind as a reasonable option).
Related, I think I may have encountered a bug where build kite was treating $(./script.sh)
as the variable name “(./script.sh)” rather than passing it through to bash and executing it, though I can’t be certain. I’ve worked around the issue by moving my commands out of the pipeline.yml command string into their own files.