CI CD Pipeline Using Github, Gradle, Docker & Kubernetes
- Fork following repo https://github.com/webmagicinformatica/train-schedule-app
- Make sure you have Jenkins installed, here the reference link
- Update Github token in Jenkins, here the reference link
- Install Docker Engine on Jenkins server, here the reference link
- Configure your Docker hub credential in Jenkins
- Create a Kubernetes, if you are creating Kubernetes on GCP, here the reference link
- Install Kubernetes Continuous Deploy plugin in Jenkins
- Configure Kubernetes credentials on Jenkins server, here the reference link
- Now from Jenkins Dashboard > New item > Select Multibranch Pipeline
- Under Branch Source select Github
- Now select Github credential configured in step 3
Also select Repository Scan radio button
In Owner put your github username
And select train-schedule git repo
- Click on Apply & Save
- Now you should be able to see pipeline & you can start building
Comments are closed, but trackbacks and pingbacks are open.