Change/Set branchName in Global Variables

Herman Wijoyo April 18, 2018

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
Atlassian Team members are employees working across the company in a wide variety of roles.
April 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

Herman Wijoyo April 20, 2018

Thanks Rafael, Let me try that.

Herman Wijoyo June 27, 2018

Late confirmation. It is working like charm. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events