1
我们使用Jenkins
作为我们的ci服务器,我们在Firefox上运行集成测试xvfb
。有时,我们会收到有关由xvfb
启动失败导致的测试失败的电子邮件。Jenkins email-ext插件,预发送脚本:
所以我们想忽略这种情况下发送邮件。正如我们所知,email-ext
插件可以帮助我们。我们应该写pre-send scripts
,但我们不知道如何编写它们。
当故障输出消息包含指定的错误消息时,如何编写脚本以取消发送电子邮件?
请参阅http://stackoverflow.com/questions/11967191/jenkins-email-ext-pre-send-script –
@DaidPostill,谢谢,我得到了解决方案。 – LuoWei