I have a multi-repository build for which I'm trying to setup plan branches.
Until https://jira.atlassian.com/browse/BAM-11544 is implemented, this is going to be somewhat difficult. However, it has been suggested before to use a build variable to "parameterize" the branch names of all non-default repositories in a build plan.
I have tried using this approach by using ${bamboo.repository.branch.name} in the Branch field of the Repository configuration of all non-default repositories in my build plan. Unfortunately, this is giving me the following error:
(java.lang.RuntimeException : com.atlassian.bamboo.repository.InvalidRepositoryException: Cannot determine head revision of 'ssh://9a161dbd-6f8b-4af6-ba39-8d4a883bffea@127.0.0.1:56487/pscom.git' on branch '${bamboo.repository.branch.name}'. Branch has probably been removed.)
Any idea how I can make this work?
Thanks,
David