Preventing triggering both branch and merge request upon pushing into MR
Answered
In case when I created merge request and then push changes into it, Teamcity triggers build twice - one for source branch and one for MR. I have such branch specs:
+:refs/heads/*
+:refs/merge-requests/*/head
It is OK when Teamcity launches build for newly created merge request, but is there a option for triggering MR only once?
Please sign in to leave a comment.
Hello,
Please try to set this option teamcity.vcsTrigger.runBuildOnSameRevisionInEveryBranch=false.