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 best solutions below

2
Oleksiy Chystoprudov On