0

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?

Summy Saurav
  • 385
  • 1
  • 3
  • 8

1 Answers1

2

See RssRuntimeContext utility class https://docs.atlassian.com/bamboo-specs-docs/latest/specs.html?java#java-specs-utilities