what is the correct to get the stack trace?
1)  failed_test.errorStackTrace 
or
2) failed_test.getErrorStackTrace()

I try it with the second and it does not work :-(
JellyException: Could not parse Jelly script : null 


Am Donnerstag, 13. Oktober 2011 13:27:12 UTC+2 schrieb Maxime Lemanissier:
>
> I'm also interested in this topic.
> I make it work with failed_test.getErrorStackTrace()
>
> But the output is not really adapted, I would like to get only the 
> assertion
> error. Is there a way to do this?
> I tried failed_test.getErrorStackTrace(10) (I guessed such a method, as for
> build.getLog(100) would exist) but it does not work.
> The problem is I don't know how to match jelly queries with objects
> available in Jenkins model. Maybe a method getAssertionError() is available
> for failed_test, but as I don't know which object it is, I can only make
> guess...
>
> In fact, I have exactly the same problem than
>
> http://jenkins.361315.n4.nabble.com/Request-for-more-email-ext-jelly-templates-examples-td3038571.html
>
> How can objects be matched between jelly script and Jenkins model?
> Are there others examples than the 2 templates provided in the email ext
> plugin page?
>
> Thx
>
> --
> View this message in context: 
> http://jenkins.361315.n4.nabble.com/Show-JUnit-test-results-in-email-notifications-tp3898704p3901191.html
> Sent from the Jenkins users mailing list archive at Nabble.com.
>
>

Reply via email to