I have a plan that uses 2 source repositories. Plan branching picks up the branches on the default repo but when it builds the other repo always checks out the same branch (master). I want the same branch on both repos.
I tried setting branch to ${bamboo.repository.git.branch} in the non-default repositories configutation so it would try to match the default repos branch but that didn't work.
How can I do this?