Skip to content

Commit 6c685b2

Browse files
author
lerndevops
authored
Update readme.md
1 parent 0d78d71 commit 6c685b2

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

cicd-flow/readme.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,16 @@
5252
5353
[SSH-KEYS-SETUP](https://github.com/lerndevops/labs/blob/master/ansible/install/ssh-keys-setup.md)
5454

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
5665

5766
```
5867
hit `http://IP:8080` in browser ## incase of cloud please use Public IP ensure the Port is allowed to access.
@@ -63,3 +72,25 @@
6372
6473
continue next and finish the setup.
6574
```
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+
```

0 commit comments

Comments
 (0)