Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Introducing limits on custom pipeline variables in Bitbucket Pipelines

We’re introducing limits on custom pipeline variables to keep pipelines fast, secure, and reliable.

What are Custom pipeline variables?

Custom pipeline variables are variables you define in your pipeline YAML or provide at run time via UI/API.

  • Defined in bitbucket-pipelines.yml or set at run time via UI/API.


New limits on custom pipeline variables

Limits per pipeline run:

  • Current limits: Up to 350 variables, with a maximum combined size of 512 KB.

  • Future limits (in approximately 3 months): Up to 50 variables, with a maximum combined size of 10 KB.

If these limits are exceeded, pipeline creation will fail with an error indicating that the custom pipeline variable limits have been exceeded.

Note: These limits apply only to custom pipeline variables. They do not apply to repository, workspace, or deployment variables.

Happy coding!

1 comment

Peter Falck Grony
Contributor
March 5, 2026

Hi Edmund,

I am completely baffled by needing a limitation reducing it from 350 variables and 512 KB down to only 10 KB in the year 2026... If a pipeline is running a bit slower for some customer you could warn them but why wouldn't you let the customer run it anyway?

Or is the whole Bitbucket experience degraded for all customers?

If the whole Bitbucket experience is degraded for all customers I would really like a bit more in depth how that came to be - it is just a miniscule YAML file... 

Furthermore, just one month ago you annonunced that 32x step sizes runners became available in light of that this announcement is even more confusing.

 

BR

Peter

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events