如何获得TFS 2015门控签到以始终触发? [英] How to get TFS 2015 gated check-in to trigger always?

查看:70
本文介绍了如何获得TFS 2015门控签到以始终触发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们一直在运行TFS 2015(现场),因为在发布门控登记功能后更新2。起初,它似乎工作得很好。然而,不久之后,我们注意到,有时当我们检查更改时,门控登记触发器只会
不会开火,并且会立即接受登记。这是非常罕见的,通常下一次登记(甚至对完全相同的文件进行更改)将按预期工作。


最近这已经转过来了。现在看来,
触发器火灾实际上非常罕见,正常情况是立即接受更改。这真的非常令人沮丧,因为我们已经使用(并且喜欢)这个功能已经有一段时间了(以前在tfs 2012上),现在它看起来并不可靠。


而且,由于这似乎(对我而言)完全随机,意味着两个几乎相同的签到之间的触发器可能表现不同,我真的不知道如何解决这个问题。有什么想法?

解决方案

您好hukhukhuk,


感谢您在此发帖。


TFS 2015中的gated check in build触发器仍与tfs 2012相同。
当开发人员尝试签入时,系统会提示他们构建更改。


当您签入一些未包含在构建工作文件夹中的更改时。它不会在签入之前触发构建。 这可能是您的gated check in build有时无效的原因。




祝福


We've been running TFS 2015 (on prem) since update 2 when the gated check-in feature was released. At first, it seemed to work just fine. Shortly after, however, we noticed that sometimes when we checked in changes the gated check-in triggers would simply not fire and the check-in would be accepted immediately. This was quite rare though, and usually the very next check-in (even making changes to the exactly same files) would work as intended.

Lately this has turned around though. Now it seems it is in fact very rare to have the trigger fire and the normal case is the changes are accepted immediately. This is really quite frustrating since we've been using (and liking) the feature for quite a while now (previously on tfs 2012), and now it does not seem reliable at all.

And since this seems (to me anyways) completely random, meaning the triggers might behave differently between two almost identical check-ins, I really don't know how to go about fixing this issue. Any ideas?

解决方案

Hi hukhukhuk,

Thank you for posting here.

The gated check in build trigger in TFS 2015 is still the same to the tfs 2012. When a developers try to check-in, they are prompted to build their changes.

When you check in some changes that don't included in your build Working folders. It will not trigger a build before checking in. Could it be the reason that your gated check in build doesn't work sometimes.

Best regards


这篇关于如何获得TFS 2015门控签到以始终触发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆