Teamcity VCS Triggers On Every Commit When Branches Are Merged

时光毁灭记忆、已成空白 提交于 2019-12-08 07:17:28

问题


I have a Teamcity build configuration which needs to run per every commit or merge (and per committer) on my develop branch. Whenever a branch is merged into develop a build build is triggered per every past commit to the merged branch. This behavior is causing Trouble and i need a way to tell TC to trigger only one build per commit.

Any ideas? Thank you!!


回答1:


Unfortunately, it is not possible to do exactly what you want. Squashing commits into single one before merging might be used as a possible workaround.

Also, it is a good idea to file a bug/request in the TeamCity issue tracker.



来源:https://stackoverflow.com/questions/36265182/teamcity-vcs-triggers-on-every-commit-when-branches-are-merged

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!