How to configure Maven in Jenkins | Jenkins Install Maven
HI...HowtoconfigureMaveninJenkins-IHOPEBELOWINFORMATIONMAYHELPYOUI.ConfigureMaveninJenkins1.GotoJenkinsDashboard->ManageJenkins->Manageplugins->Available->MavenIntegration->Install2.GotoManageJenkins->Globaltoolconfiguration->Maven->AddMaven_homevariablevalue(i.e.pathofthemavenfileonyoursystem).3.GotoJenkinsDashboard->NewItem->MavenProjectoptionwillbeavailableII.BuildaMavenprojectGotoJenkinsDashboard->NewItem->ChoosenamefortheMavenProject(e.g.MyFirstMavenE...
HI...
How to configure Maven in Jenkins-
I HOPE BELOW INFORMATION MAY HELP YOU
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 -> Choose name for the Maven Project (e.g. MyFirstMavenExample)2. On Configure Page, set the following:
a). Discard Old builds
Days to keep builds: 1
Max of builds to keep: 5
b). JDK (to be used for this project) Java-1.8
c). Build -> adavanced -> enable the following
- Resolve Dependencies during Pom parsing
- Use c...