Team Foundation 服务器上变更集注释的位置?
我的一位同事正在开发一个持续集成构建脚本,每次开发人员签入时都会生成一个新的构建,并在构建完成时向开发团队发送一封电子邮件。我们希望获取与签入相关的任何评论(与您通过右键单击项目文件并选择查看历史记录看到的评论相同)并将其包含在电子邮件中。但是,我们不确定 TFS 后端将脚本指向何处,以便它可以检索这些注释。有谁知道我们应该去哪里看?
One of my colleagues is working on a Continuous Integration build script that makes a new build every time a developer makes a checkin, and sends an email out to the development team when the build finishes. We want to take any comments associated with the checkin (the same comments you'd see by right-clicking on a project file and selecting View History) and include them in the email. However, we're not sure where in the back-end of TFS to point the script so it can retrieve those comments. Does anyone know where we should look?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您使用 TFS API 吗?如果是这样,您只需这样做:
如果您尝试在数据库中查找它,您可以查看变更集标题:
从这里向 id、日期等添加一个 where 子句。
这是数据存储在 TFS 中的位置2010。
在 TFS 2008 中,您将使用 TfsWarehouse 并查看 dbo.ChangeSet Changset 列。
Are you using TFS API for that? If so, you simply do:
If you are trying to look it up in the DB, you can look at the changeset title:
From here add a where clause to either the id, date etc.
This is where that data is stored in TFS 2010.
In TFS 2008, you would use TfsWarehouse and look at dbo.ChangeSet Changset column.