简体   繁体   中英

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

I am using Email-Ext plugin to send 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

You can edit the jelly script to send particular error. Here's how I did it for jUnit tests. nunit should be something similar http://habibbabbles.blogspot.com/2013/09/how-to-show-stacktrace-standard-output.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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