Endless builds when using VCS markings in TeamCity

We just created one of our projects in TeamCity (7.0 (21241)) to indicate our VCS when the build is successful.

This works great as we update Mercurial with the appropriate tag. But since this creates a new version of Mercurial, it also forces the build to start again, as TeamCity detects the changes.

Any ideas on how to prevent this?

thank

+3
source share
1 answer

We managed to fix this by setting:

Change the ordering rules (in TeamCity version control settings):

+ :.

-.:/Hgtags

(note that the settings are on two separate lines.)

VCS labeling mode has been set to "Only successful"

+6

All Articles