Hudson 指纹显示在其他工作中的使用,但不显示项目之间的关系

发布于 2024-12-24 15:58:24 字数 269 浏览 3 评论 0原文

我无法聚合测试。我相信这是因为Hudson拒绝在我的上游和下游工作之间建立“项目关系”。我启用了指纹;查看我的构建工件的指纹报告会显示其他作业。然而,在“项目关系”页面上,up &向下的职位是“没有记录”链接的职位。

相关问题:Hudson 中“聚合下游测试结果”的问题

I can't get tests to aggregate. I believe this is because hudson refuses to make a "project relationship" between my upstream and downstream jobs. I have fingerprints enabled; and viewing the fingerprint report for my build artifact shows the other jobs. However, on the "project relationships" page the up & down jobs are "no records" linking the jobs.

Related question: Problems with "Aggregate downstream test results" in Hudson

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

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

发布评论

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

评论(1

只为一人 2024-12-31 15:58:24

为了汇总测试结果,指纹工件必须由Hudson引入。我认为这是由以下两者决定的:

  • 文件上的时间戳比构建开始的时间更新
  • MD5 校验和之前必须从未生成过。

如果一个文件被 Hudson 在 SCM 之外使用并进行指纹识别,那么即使它是由 Hudson 作业生成的(并且恰好相同),Hudson 也永远不会“引入”该文件。

编辑:
另外...您无法发布作业的 JUnit 测试结果并与下游项目聚合。如果启用了 JUnit,则仅显示上游项目的结果。

In order to aggregate test results the fingerprinted artifact must be introduced by Hudson. I assume this is determined by both:

  • The timestamp on the file being newer than the time the build started
  • The MD5 checksum must have never been generated before.

If a file is used and fingerprinted by Hudson out of SCM it can never be "introduced" by Hudson even if it is generated by a Hudson job (and happens to be identical).

Edit:
Also... you can't publish JUnit test results for a job and also aggregate with downstream projects. Only the results of the upstream project will be shown if JUnit is enabled on it.

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