No i think this is expected behavior because metrics like total tests or
skiped tests are only relevant with maven jobs and not free style jobs.



On Mon, Aug 19, 2013 at 9:54 PM, Kayode Adeoye <[email protected]> wrote:

> is this a bug in jenkins or expected behavior?
>
>
> On Wednesday, August 14, 2013 12:36:32 AM UTC-7, Joachim Rodrigues wrote:
>>
>> Found the problem.
>>
>> In fact, when  
>> *getAggregatedTestResultAction<http://javadoc.jenkins-ci.org/hudson/model/AbstractBuild.html#getAggregatedTestResultAction()>
>> and * 
>> *getTestResultAction<http://javadoc.jenkins-ci.org/hudson/model/AbstractBuild.html#getAggregatedTestResultAction()>
>>  are
>> returning null inside a free-style project.*
>> *It ok for maven projects*
>> *
>> *
>> *
>> *
>>
>> On Tuesday, August 13, 2013 11:49:39 AM UTC+2, Joachim Rodrigues wrote:
>>>
>>> I
>>> I'm currently discovering jenkins plugins developpent and in my Plugin
>>> class that extends Notifier
>>> my 
>>> AbstractBuild<http://javadoc.jenkins-ci.org/hudson/model/AbstractBuild.html><?,?>
>>>  build
>>> object, always  returns null when invoking *getAggregatedTestResu
>>> ltAction<http://javadoc.jenkins-ci.org/hudson/model/AbstractBuild.html#getAggregatedTestResultAction()>
>>>  or 
>>> *AbstractTestResult**Action<http://javadoc.jenkins-ci.org/hudson/tasks/test/AbstractTestResultAction.html>
>>>
>>> how can I get tests fail + test succeeded and test skiped ?
>>>
>>> thanks
>>>
>>> Joachim
>>>
>>>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-dev/ju6F06cc2ew/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to