Skip to content

Use variables in any part of your Pipelines .yaml

⏳ Rolling Out

Product: Bitbucket

Announced9 Mar 2026
Rollout started9 Mar 2026
Rollout ended20 Apr 2026
SourceAtlassian blog ↗

In the past, variables in Bitbucket Pipelines were scoped to only operate within script sections of a Pipelines workflow. This limited their usefulness and restricted users from being able to fully parameterize their workflows. Today we are releasing an enhancement that will allow variables to be used within any section of a Pipelines .yaml file, and not just within scripts. This new capability will allow you to use variables to parameterize things like cache keys, artifact names, build images,

DateStatusWeek
9 Mar 2026⏳ Rolling Out
16 Mar 2026✅ Rollout Complete
23 Mar 2026⏳ Rolling Out
30 Mar 2026✅ Rollout Complete
6 Apr 2026⏳ Rolling Out
13 Apr 2026✅ Rollout Complete
20 Apr 2026⏳ Rolling Out
27 Apr 2026✅ Rollout Complete
4 May 2026⏳ Rolling Out