Re: Groovy Postbuild testResultAction always null

2016-01-06 Thread foolhunger Hsiao
Maybe it is the way how it works, many thanks, really helps On Thursday, January 7, 2016 at 2:14:54 AM UTC+8, Victor Martinez wrote: > > IMO, freestyle jobs don't know what a test means unless there are some > post build actions to parse those *unit files, therefore you shouldn't > raise a ticke

Re: Groovy Postbuild testResultAction always null

2016-01-06 Thread Victor Martinez
IMO, freestyle jobs don't know what a test means unless there are some post build actions to parse those *unit files, therefore you shouldn't raise a ticket since that's the expected behavior I guess so. Cheers -- You received this message because you are subscribed to the Google Groups "Jenk

Re: Groovy Postbuild testResultAction always null

2016-01-06 Thread foolhunger Hsiao
Thanks Victor I think I have found the issue, it works with maven style jobs but doesn't work with freestyle ones, not sure whether that's intentional or a bug Maybe I should open a Jira issue for this -- You received this message because you are subscribed to the Google Groups "Jenkins Users

Re: Groovy Postbuild testResultAction always null

2016-01-06 Thread Victor Martinez
Hi, Do you use the junit plugin (https://wiki.jenkins-ci.org/display/JENKINS/JUnit+Plugin) in your jenkins job? Cheers On Wednesday, 6 January 2016 05:23:30 UTC+1, foolhunger Hsiao wrote: > > Hi, all > > I was trying to use groovy postbuild plugin to get test failure count, and > test pass c