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

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
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

695 views 2 7
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