Atlassian

Use variables in any part of your Pipelines .yaml

May 15, 2025Edmund Munday
Use variables in any part of your Pipelines .yaml
SummaryAI, from the source post

This post introduces the ability to use variables (`${{MY_VARIABLE_KEY}}`) within any section of a Bitbucket Pipelines `.yaml` file, not just within `script` sections. This allows for parameterization of cache keys, artifact names, build images, and other workflow configurations, enhancing the flexibility and reusability of pipelines.

More from the Bitbucket Pipelines Runner trail