Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Change/Set branchName in Global Variables

is it possible to change or set "bamboo.planRepository.branchName" in Global Variables ?

the goal is for 1 plan with bamboo.planRepository.branchName as global variables, so user can manually set the branch name to checkout and trigger plan manually.

Please share some light 

Cheers

 

 

1 answer

1 accepted

1 vote
Answer accepted
rsperafico Atlassian Team Apr 19, 2018

Hi @Herman Wijoyo,

Instead, you could create a variable, e.g. myBranch:

Screen Shot 2018-04-19 at 09.52.14.png

and refer to this variable in your Git repository (Repository host as Git), for instance:

Screen Shot 2018-04-19 at 09.39.55.png

then, Running a customized manual build

Kind regards,

Rafael

Thanks Rafael, Let me try that.

Late confirmation. It is working like charm. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

58 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you