JUnit + Jenkins example

31 views
Skip to first unread message

Pulkit Lall

unread,
Aug 25, 2015, 12:59:41 AM8/25/15
to Jenkins Users
Hi All,
I tried google search but could not find a simple JUnit + Jenkins example. I need to create a job and display the result in JUnit but am not sure of the steps.
Anyone knows where I can check for the Junit+Jenkins sample from scratch.

TIA.

Ziv Gabel

unread,
Aug 25, 2015, 3:40:37 AM8/25/15
to jenkins...@googlegroups.com
You should
1. Create an ant task that run the tests (and optionally compiling everything needed before)
2. The ant JUINT task will generate an xml file for each test.
3. Create a project that executes the ant.
4. Point jenkins to the folder where the xml files created by using the generate reports action.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1a5dfbc3-12ea-405a-b139-26c657b6e256%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Ziv Gabel l Professional services l CommuniTake Technologies Ltd.

 

M+972535265553 l Skype: ziv_gabel l Eziv@communitake.com

T+972.4.959.1608 l F+972.4.959.1654 l www.communitake.com

Pulkit Lall

unread,
Aug 25, 2015, 4:48:09 AM8/25/15
to Jenkins Users
Ziv Gabel,
Thanks for providing your valuable time.

I have read this online but as I am new to this so I would like to know if there is some sample present on website which can show me the steps from starting to end as I have no idea regarding this.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages