简体   繁体   English

如何在Email-Ext插件的Jenkins中包含构建失败的原因

[英]How to include Reason of build failure in Jenkins in Email-Ext plugin

I am using Email-Ext plugin to send Email . 我正在使用Email-Ext插件发送Email。 I am able to fetch many of details like build status nunit results change sets using jelly script but I am not able to get the reason for failure of build for example "abc command is not recognized as internal command" How should i include the exact reason of build failure in email message 我可以使用果冻脚本获取许多详细信息,例如构建状态nunit结果更改集,但我无法获取构建失败的原因,例如“ abc命令未被识别为内部命令”,我应如何包括确切原因电子邮件中构建失败的原因

You can edit the jelly script to send particular error. 您可以编辑果冻脚本以发送特定错误。 Here's how I did it for jUnit tests. 这是我为jUnit测试所做的方法。 nunit should be something similar http://habibbabbles.blogspot.com/2013/09/how-to-show-stacktrace-standard-output.html nunit应该类似于http://habibbabbles.blogspot.com/2013/09/how-to-show-stacktrace-standard-output.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM