RE: Maven and Jenkins

How to work with Maven and Jenkins. I have a testNg frame work . so i want to work with Maven and Jenkins for that project for better results and continuous integration.

I need the total set upĀ  and a sample project

ranjit297 Train Asked on December 2, 2014 in Selenium WebDriver.
Add Comment
4 Answers

Hi Ranjit

I cannot give you full setup , but will surely help you with some pointers

why you require maven? , i assume just for dependency management , if yes then there is very nice tutorial on toolsqa which you should follow .

Once you have maven setup with Testng then running it on jenkins is pretty straight forwards, install maven plugin (may be it is pre-installed) –> create new Job with template as Maven –>Configure the job and add you root pom and your goal to build(mvn clean install)

And i think you are done , simply run the job

Thanks
Kapil Aggarwal

Supporter Answered on December 3, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.