【发布时间】:2017-02-28 22:12:17
【问题描述】:
我有一系列使用 jenkins 管道作为 shell 脚本运行的 jenkins 测试,包括 Build/Copy/TestSet1/Testset2 等阶段。我希望能够运行诸如“if result == fail && build == SUCCESS && TestSet1_runtime > 30s”之类的查询。
目前这是通过调用外部二进制文件的 python 脚本运行的,但没有生成任何 junit 报告。
有没有什么好的方法可以得到这些结果,甚至是我可以解析的管道阶段的原始数据?
谢谢
【问题讨论】:
标签: unit-testing jenkins automated-tests jenkins-pipeline