Hey guys, I am having a small bit a trouble with some teamcity configuration.
My issue is that our workflow for a build is to merge all of our changes to a staging branch, and when we are ready to do a build and deploy we just merge the staging branch into production. The issue is that in teamcity this currently triggers a build for every change that went into staging, where I actually only want one build.
My plan for fixin this issue is to put a comment in the merge from staging to master ‘Production Release’ and teamcity will see that and only fire a build for the commit that has that comment. But I am having a little trouble editing the VCS Trigger rules. I have tried to two following things.
I have tried selecting Trigger a build on each check-in and Include several check-ins in a build if they are from the same committer then adding the rule but this does not work, and I’m not ever sure if I can do
I have also tried unselecting Trigger a build on each check-in and Include several check-ins in a build if they are from the same committer then adding the following rule. But this also does not work, neither of these are triggering a build.
I have also tried a couple of subsets of this.
Also when I make these changes in the VCS root will team city look at pending changes to see if they contain these triggers?
Any help in making this work would be very much appreciated.
BTW, we are using TeamCity Professional 7.1.5 (build 24400)