Reputation: 1798
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: 1039
Reputation: 3380
Try to set internal property teamcity.vcsTrigger.analyzeFullHistoryForMergeCommits=false
. For more details see the comment in TeamCity issue tracker.
Upvotes: 2