We're using TeamCity Professional 9.1.1 and I'm trying to get automatic branch merging working. Using Git/Stash our scenario is that the devs create feature branches from master named feature/name-of-feature. Once the feature is ready for testing they merge the branch into an integration branch and once that build succeeds they merge into a QAT branch. We'd like to automate this chain from teamcity.
I've managed to get feature and bugfix branches building automatically by adding this to our Branch specification: in the VCS root for the master branch
But I'm struggling to get the feature branches to merge automatically into the integration branch. I've added an automatic merge build feature and I've tried various combinations of 'Watch builds in branches' and 'Merge into branch:' Currently I have
and I've also tried
The builds are successful but the branch doesn't get merged into integration and there are no messages in the log.
Any ideas what I'm doing wrong?