是否可以在 TFS 中实现预先测试的提交?

发布于 2024-07-09 16:44:46 字数 129 浏览 4 评论 0原文

我对 TeamCity 中预测试提交的想法很感兴趣(即在允许签入之前验证它们不会破坏构建),我想知道是否有任何方法可以在 TFS 中实现这一点。 看起来 TeamCity 可以连接 TFS 版本控制作为后备存储,但我当然更喜欢免费的解决方案。

I'm intrigued by the idea in TeamCity of pre-testing commits (i.e. verifying they don't break the build before allowing check-in to occur) and I'm wondering if there is any way to implement this in TFS. It looks like TeamCity can interface to TFS version control as a backing store but of course I'd prefer a free solution.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

柏林苍穹下 2024-07-16 16:44:46

In TFS there is the notion of check-in policies where you can execute code on the client and that can validate check-ins before allowing them to occur. However - what you are after sounds more like the notion of a "Gated Check-in" where a build is attempted on a central build server before the check-in is committed to the main code base. Take a look at the BuddyBuild project on CodePlex to add that functionality in the current versions of TFS.

In TFS 2010, gated check-in builds will be a feature out of the box.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文