Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用Jasmine-reporters和 Jasmine 输出一堆 JUnitXML 格式文件,我需要 Hudson 为我解析这些文件并报告成功/失败。有人知道我会如何要求 Hudson 在构建过程中测试一堆 XML 吗?谢谢!
在作业的“构建后操作”中,应该有一个复选框来“发布 JUnit 测试结果报告”。您可以放置一个 ant-glob 表达式(就好像您正在编写一个“包含”元素)来匹配您的 xml 文件。我基于我在 Jenkins 服务器中看到的内容;哈德逊应该等同于您的问题。