Re: How to create junit test result in xml format using jenkins

2012-07-03 Thread Varghese Renny
yeah..got it..Thanks for reply.


Re: How to create junit test result in xml format using jenkins

2012-07-03 Thread Andrey Myatlyuk
Varghese,

It is not Jenkins who produces Junit test results. Jenkins is merely a
wrapper for your build scripts. Plugins can add functionality, but it seems
that you are using Ant.

When you run your Ant script outside of Jenkins, can you see xml reports?
If you cannot, then you should add xml as output format for JUnit task.

http://ant.apache.org/manual/Tasks/junit.html
"formatters" section contains info on output formats.

Hope it helps.

Andrey

On Tue, Jul 3, 2012 at 6:55 AM, Varghese Renny wrote:

>
> Hi,
>Whether jenkins is able to produce junit test result in xml format..i
> am using ant for executing test cases.
> i have found only test report. But for test report i needed to have junit
> xml?
> How to solve this?
>
> Thanks in advance
> varghese
>
>


RE: How to create junit test result in xml format using jenkins

2012-07-03 Thread William Soula
Look at the junitreport task:
http://ant.apache.org/manual/Tasks/junitreport.html

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Varghese Renny
Sent: Tuesday, July 03, 2012 8:56 AM
To: jenkinsci-users@googlegroups.com
Subject: How to create junit test result in xml format using jenkins


Hi,
   Whether jenkins is able to produce junit test result in xml format..i am 
using ant for executing test cases.
i have found only test report. But for test report i needed to have junit xml?
How to solve this?

Thanks in advance
varghese