Forums

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

What's the maximum length for environment variables?

ismaelgfk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 26, 2018

What's the maximum length for environment variables?

1 answer

0 votes
StannousBaratheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 2, 2018

Hi @ismaelgfk

Pipelines doesn't strictly enforce a maximum length for environment variables, however a 400kb limit is enforced by our persistence engine meaning in practice you can create a variable with length roughly between 100,000 and 400,000 characters depending on encoding.

That being said, a variable of this length is unusual so you may want to reconsider if variables is the right solution for what you're trying to achieve. Alternatives include adding required variables/files to your build Docker image or pulling files from an external secure file store.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events