计数构建

发布于 2024-09-04 12:38:19 字数 238 浏览 1 评论 0原文

我有十几个构建计划,由一个独特的构建代理管理。我想要做的是获取这些计划上触发/计划构建的总数(无需从界面手动计数)。那么,问题是,服务器上是否有一种计数器?

更新#1:我正在使用 v2.2.1。

更新#2:在服务器界面(管理 -> 系统 -> 系统信息)上,有一些统计信息,包括服务器执行的构建次数。但是,当服务器出现故障时,该数字会重新初始化。

I have a dozen of build plans managed by a unique build agent. What I want to do, is to get the total number of triggered/scheduled builds on those plans (without counting them manually from the interface). So, question is, is there a kind of counter on the server?

UPDATE #1: I'm using the v2.2.1.

UPDATE #2: On the server interface (Administration -> System -> System Information), there are some statistics including how many builds the server performed. But, this number is reinitialized when the server goes down.

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

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

发布评论

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

评论(1

仙气飘飘 2024-09-11 12:38:19

如果您转到(管理 -> 代理 -> “您的代理”),

然后单击“查看最近的活动”。然后将右侧的下拉列表从“显示最近 25 个版本”或任何设置更改为“显示所有版本”。在最右下角,它会显示类似“显示 591 中的 1-50”之类的内容。在本例中,591 是该代理运行过的构建总数。

这适用于 2.6.1,不确定 2.2.1,已经有一段时间了。

If you go to (Administration -> Agents -> "Your Agent")

Then click on "View Recent Activity". Then change the drop-down on the right from "Showing Last 25 Builds" or whatever it's set to, and set it to "Showing All Builds". In the very bottom right it will say something like "Showing 1-50 of 591". In this case 591 is the total number of builds ever run by that agent.

This works on 2.6.1, not sure about 2.2.1, it's been awhile.

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