Jenkins selenium

15 views
Skip to first unread message

Kancharla Prasad

unread,
Jun 13, 2016, 6:12:20 AM6/13/16
to Jenkins Users
Hi All,

I am new to jenkins.

In jeninks i had created a Maven project in jenkins and provided pom.xml.

Even my eclipse project also a maven project. by default it provided a sample test called AppTest.

When i run the jenkins job it default taking the AppTest not my project tests..
Screenshot 1.- WithMavensampleTest

when i removed the maven sample test from eclipse, i was expecting the jenkins to pick my project tests but i didnt.. the build is sucess wiithout running tests.
Screenshot 2- No Tests

Now the jenkins job which i have is downloading all the dependencies which i mentioned in pom.xml but not executing the tests.
please suggest how to get the tests triggered from jenkins.
WithMavensampleTest.png
NoTests.png

Shrikant Nanda

unread,
Jun 13, 2016, 9:47:28 AM6/13/16
to Jenkins Users
Can you post the project hierarch here? where are your tests located? 

Are tests running successfully from Eclipse?
Reply all
Reply to author
Forward
0 new messages