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

Get repository name according to Bitbucket Server repository triggere

Ashwani Pal July 14, 2022

Hi Team,


I have configured two (same) repositories in a bamboo plan with different branches.

My Bamboo repository names are below:

1: Repo-Name_testDevelopBranch@1 

2: Repo-Name_testDevelopBranch@2

I selected both repositories in the Bitbucket Server repository trigger, now I wanted to get the repo name(or branch name) based on the bitbucket repo trigger.

Eg: if any change occurs in testDevelopBranch@1 so my script should print Repo-Name_testDevelopBranch@1


Please let me know if there is any inbuild trigger-based variable in bamboo that will return the repo name(or branch name ) based on change on the respected repo, or if is there any other way to achieve it.

0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events