File tree Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Original file line number Diff line number Diff line change 52
52
53
53
[ SSH-KEYS-SETUP] ( https://github.com/lerndevops/labs/blob/master/ansible/install/ssh-keys-setup.md )
54
54
55
- ### Step8 -- Now Let's start creating CICD Pipeline on Jenkins
55
+ ### Step8 -- Setup Ansible Inventory
56
+
57
+ ```
58
+ vi /tmp/inv
59
+ enter your servers in gruops called qa & prod
60
+ ( look at the sample inventory file under https://github.com/lerndevops/samplejavaapp/tree/master/deploy )
61
+ ensure to update the qa & prod server credentials accrodingly in /tmp/inv file
62
+ ```
63
+
64
+ ### Step9 -- Now Let's start creating CICD Pipeline on Jenkins
56
65
57
66
```
58
67
hit `http://IP:8080` in browser ## incase of cloud please use Public IP ensure the Port is allowed to access.
63
72
64
73
continue next and finish the setup.
65
74
```
75
+
76
+ ### Step10 -- Install reqired Plugins (Install these from Jenkins UI)
77
+ ```
78
+ install all these from Jenkins UI )
79
+ Manage Jenkins --> manage plugins -- Available -- search & install the below
80
+ 1) PMD
81
+ 2) cobertura
82
+ 3) Junit
83
+ 4) build with parameters
84
+ 5) BuildPipeline
85
+ ```
86
+
87
+ ### Step11 -- Create Credentials (Setup these from Jenkins UI)
88
+
89
+ ```
90
+ Jenkins ( main/home page ) ==> Credentials ==> global ==> Add Credentials
91
+ --> kind: secret text
92
+ --> scope: Global
93
+ --> Secret: <enter your docker hub password>
94
+ --> ID: DOCKER_HUB_PWD
95
+ --> Description: DOCKER_HUB_PWD
96
+ ```
You can’t perform that action at this time.
0 commit comments