Skip to content

Commit 98e9ad5

Browse files
Merge pull request #32 from devdattakulkarni/cicd
Updated cicd-steps.txt
2 parents e1e6987 + b1f4aa7 commit 98e9ad5

1 file changed

Lines changed: 16 additions & 6 deletions

File tree

CICD/cicd-steps.txt

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ B] Setup your Jenkins Server/Machine 2:
117117

118118
2) Download and Start Jenkins Server:
119119
- wget http://mirrors.jenkins.io/war-stable/latest/jenkins.war
120-
- nohup java -jar jenkins.war --httpPort=8080 &
120+
- java -jar jenkins.war --httpPort=8080
121121

122122
3) Configure Jenkins Server
123123
- Point your browser to the DNS name of the Jenkins Server at port 8080
@@ -178,8 +178,12 @@ B] Setup your Jenkins Server/Machine 2:
178178
- Add contents of deploy-steps.txt (modify the steps as required)
179179
6.6) Save
180180

181-
182-
181+
6.7) Bitbucket host key verification
182+
183+
Once you hit 'Save', you will see a prompt to verify the key for bitbucket server.
184+
This indicates that Jenkins has received the web hook and wants to clone your repository.
185+
In order to clone the repo, it needs to first verify the host key. Enter 'yes' to accept
186+
the specified host key.
183187

184188

185189
CI/CD Experiment:
@@ -192,20 +196,26 @@ CI/CD Experiment:
192196
- git commit
193197
- git push origin1 master
194198

195-
3) In the Jenkins Job you should see a new build triggered (visible under "Build History")
199+
3) (If Part B step 6.7 was not executed for some reason) On the Jenkins machine,
200+
you should see a prompt to verify the key for bitbucket server.
201+
This indicates that Jenkins has received the web hook and wants to clone your repository.
202+
In order to clone the repo, it needs to first verify the host key. Enter 'yes' to accept
203+
the specified host key.
204+
205+
4) In the Jenkins Job you should see a new build triggered (visible under "Build History")
196206
- Select the Build
197207
- Go to Console Output
198208
- Verify that the build and deploy steps have been executed
199209

200-
4) On Machine 2 (Jenkins server):
210+
5) On Machine 2 (Jenkins server):
201211
- kubectl get ingress
202212
- Check the AGE field. It usually takes 7/8 minutes before the changes are reflected
203213
on the Ingress IP address
204214
- Navigate to the IP address and verify that your changes are visible
205215
(Note: It may take 7/8 minutes before the ingress filtering routes will take effect
206216
and your changes are visible.)
207217

208-
5) Repeat steps 2-3-4 with different changes to index.html
218+
6) Repeat steps 2-3-4 with different changes to index.html
209219

210220

211221

0 commit comments

Comments
 (0)