Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Refrence to another pipeline variable

Nitin Goyal
Contributor
January 4, 2021

Is it possible to store value in different variable and reference variable can get value from single. like

 

ONE = 1

ONE_REPO=${ONE}

 

now if i want to echo ONE_REPO variable it will also have the same value of ONE so if we want to change value we can change it at one place would reflect to all other places

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Upcoming Bitbucket Events