Bamboo java specs get default branch name

241 views Asked by At

I want to set artifactBaranch for auto deployment in bamboo but before that I would like check if that branch is default or not. If that branch is default then I will not set the artifact branch name.

So my question is, is there any way to get default git branch name in bamboo specs using java?

1

There are 1 answers

2
Oleksiy Chystoprudov On