Build a simple Maven Project in Jenkins | jenkins maven
BeforeconfiguringMavenwithJenkins,clickhere[1]tocreateamavenprojectonwindows.I.ConfigureMaveninJenkins1.GotoJenkinsDashboard->ManageJenkins->Manageplugins->Available->MavenIntegration->Install2.GotoManageJenkins->Globaltoolconfiguration->Maven->AddMaven_homevariablevalue(i.e.pathofthemavenfileonyoursystem).3.GotoJenkinsDashboard->NewItem->MavenProjectoptionwillbeavailableII.BuildaMavenprojectGotoJenkinsDashboard->NewItem-...
Before configuring Maven with Jenkins, click here[1] to create a maven project on windows.
I. Configure Maven in Jenkins
1. Go to Jenkins Dashboard ->Manage Jenkins ->Manage plugins ->Available ->Maven Integration ->Install
2. Go to Manage Jenkins->Global tool configuration->Maven -> Add Maven_home variable value (i.e. path of the maven file on your system).
3. Go to Jenkins Dashboard -> New Item -> Maven Project option will be available
II. Build a Maven project
Go to Jenkins Dashboard -> New Item -...