Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Edit env vars when manually triggering pipelines

Hi all,

It's quite rare to have to trigger a pipeline manually once it's 100% setup. But sometimes you need an emergency build or need to change a variable just to make an experimental build (like, changing endpoints for a beta testing build which you don't want to accidentally make permanent by forgetting to remove it).

It would be nice to, as admin of the repo, when manually triggering a pipeline, to be able to overwrite a variable for experimental purposes.

What do you guys think?

PS: I know I can just declare a pipeline for a specific branch and do ifs and elses to read different variables, but it's just too much manual work when all you want to make sure is that the new keys or tokens for a remote service are already operational before replacing the old ones in the pipeline, no? :-)

Any thoughts are welcome and I hope this becomes a feature at least for admins triggering manually the pipelines so we can do experimental builds with lower risk of leaving  something behind.


Pablo Sanchez  

1 comment

Hi @Pablo Sanchez ,

Good idea. 

Some of you cases you could cover with the custom variables functionality:

[Custom pipelines only] Contains variables that are supplied when a pipeline is launched. To enable the variables, define them under the custom pipeline that you want to enter when you run the pipeline:


custom-name-and-region: #name of this pipeline
- variables: #list variable names under here
- name: Username
- name: Region
- step:
- echo "User name is $Username"
- echo "and they are in $Region"

Then, when you run a custom pipeline by accessing Branches ⋯ Run pipeline for a branch > Custom, you can set the variable values to run your custom pipeline.

The keyword variables can also be part of the definition of a service.


Best regards,
Oleksandr Kyrdan


Log in or Sign up to comment
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,004 views 3 10
Read article

Atlassian Community Events