我已经安装了jenkins插件,并将输出打印为松弛状态。
我的测试使用Pytest运行,输出如下。 (摘自Jenkins控制台)。
[Slack Notifications] found #13 as previous completed, non-aborted build
[Slack Notifications] will send OnSuccessNotification because build matches and user preferences allow it
Finished: SUCCESS
但是在我的实际闲置通知中,它说:
XXX>>XXX : #14 Success after 45 sec (Open)
No Tests found.
为什么说“未找到测试”。如何获得23通过,在这种情况下打印2警告。
答案 0 :(得分:0)
@Rekha,在遇到同样的问题后,我发现您似乎只能在不使用自定义消息的情况下添加测试摘要。不幸的是,github 上的 issue 已关闭:
https://github.com/jenkinsci/slack-plugin/issues/313
编辑:关闭自定义消息对我不起作用。松弛通知仍然显示“未找到测试。”