Extra builds during branch merges.

Answered

Please see picture below.
Why are there builds: 12688-default, and 12689-default?
12689 merge 8-0-rc to 8-0. 12690 merge 8-0 to default.
12662 merge 8-0-rc to 8-0. 12663 merge 8-0 to default.

I am using TeamCity Professional 9.1.6 (build 37459) with a mercurial repository. My trigger is "Trigger a build on each check-in".


4 comments

Hi Tam,

It looks like the following issue: https://youtrack.jetbrains.com/issue/TW-29820. As workaround set parameter:

teamcity.vcsTrigger.runBuildOnSameRevisionInEveryBranch=false

You can set it either as a parameter in build configuration - to affect a particular build configuration, or in internal.properties file to affect all build configurations.

0

Thank you. I have created an internal.properties file and will add this parameter.

0

I added this parameter. But it did not solve the problem. TC still builds every commit in pull request. I expected that only the latest commit sho
uld be built.

0

@Tam Le : Did you find the solution?

0

Please sign in to leave a comment.