找出 Teamcity 中破坏次数最多的人

发布于 2024-08-25 18:28:44 字数 66 浏览 5 评论 0原文

有没有一种简单的方法可以找出用户在 Teamcity 中生成了多少成功/失败的构建?我们需要这个来找出周五谁买啤酒:)

Is there a simple way of finding out how many successful/broken builds a user has generated in Teamcity? We need this to find out who buys beers on friday :)

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

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

发布评论

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

评论(2

心不设防 2024-09-01 18:28:44

简短的回答似乎是否定的。没有简单的方法可以做到这一点,但这并非不可能。查看 JetBrains 论坛上的这篇文章。矩阵引用是个笑话吗?

http://www.jetbrains.net/devnet/message/5239286#5239286

代理详细信息页面上有一个构建历史选项卡。但你不能用它做太多事情(无论如何在 Teamcity 5.01 版本中都不能)。它甚至不允许对结果列进行排序。根据您每周的构建数量,可以快速手动扫描每个代理的所有失败构建。

编辑:这在 Teamcity 7.0 中通过新的 REST API 绝对是可能的。

它看起来像这样:

http://teamcity:8111/httpAuth/app/rest/buildTypes/id:bt284/builds?status=FAILURE&user=id:1

The short answer seems to be no. There is no simple way to do this but it isn't impossible. Check out this post on the JetBrains forum. Is that Matrix reference a joke?

http://www.jetbrains.net/devnet/message/5239286#5239286

There is a build history tab on the agent details page. But you cannot do much with it (not in version 5.01 of Teamcity anyway). It does not even allow sorting on the results column. Depending on how many builds you have per week, it could be possible to do a quick manual scan of all the failed builds per agent pretty quickly.

EDIT: This is definitely possible in Teamcity 7.0 via the new REST API.

It would look something like this:

http://teamcity:8111/httpAuth/app/rest/buildTypes/id:bt284/builds?status=FAILURE&user=id:1

兮子 2024-09-01 18:28:44

现在,在 TeamCity 6 中,使用它对自定义图表的支持,这可能是可能的:
http://confluence.jetbrains.net/display/TCD6/Custom+Chart

This may be possible now in TeamCity 6 using it's support for custom charting:
http://confluence.jetbrains.net/display/TCD6/Custom+Chart

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