Reputation: 1788
I'm using TC 9.0 with Git. I would like to setup VCS Triggers for all pull requests merges only. I've tried with VCS Trigger Rules:
-:**
+:comment=^Merge pull request:**
but with no luck so far (it didn't caught any change no matter of commit message).
Any ideas what I'm doing wrong?
Upvotes: 0
Views: 1036
Reputation: 3370
Try to set internal property teamcity.vcsTrigger.analyzeFullHistoryForMergeCommits=false
. For more details see the comment in TeamCity issue tracker.
Upvotes: 2