I setup a plan where I added 2 repos, 1 has to be a default repo and the other 1 has to be a non-default repo. I set triggers on both repos to build on code change. When I commit to a feature branch in the non-default repo, it triggers a build, however it checks-out the master branch of the non-default repo. I don't have any problems with the default repo as it checks out to any branch that had a code change. Is there a way to make non-default repos check out to any branch (not just master)?
Hi @Ed Dev you can achieve this with a custom script for checkout the second repository, you can use bamboo build variables and found the new feature branch for the default repo and with this trick you can calculate the checkout.
Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.