-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkins_Maven
More file actions
32 lines (22 loc) · 831 Bytes
/
Jenkins_Maven
File metadata and controls
32 lines (22 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
### Lab 2 : Settin up Maven Based Java Application
1. Access Jenkins Dashboard from Web Browser
2. Login Using newly created user account (Refer Lab 1)
3. Manage Jenkins > Global Tool Configuration
Locate "Maven"
Click "Add Maven" > "Maven Installations"
Name: maven3
Version: 3.6.0 from Apache
Click Save
3. Back to Dashboard, Click New Item >
Name: java-app1
Type: Freestyle project
4. Source Code Management TAB:
Choose "Git"
Enter Repository path:
https://github.com/mahendra-shinde/ci-demo
5. Choose Build TAB
Choose Maven version "maven3"
Goal : clean package
Click on "Advanced" button
and Write POM location : DemoApp/pom.xml
Click Save