Category: Data, Kubernetes, Docker, Jenkins, github

We are going to deploy a webserver on the top of K8s, using jenkins DSL .Using jenkins DSL ,we can share,deploy out job very easily. Basically jenkinsfile is a textfile that have definition of jenkins Pipeline,It uses a Domain Specific Language(DSL) i.e, Groovy Language.

When we launch this image, it should automatically starts Jenkins service in the container Create a job chain of job1, job2, job3 & job4 using build pipeline plugin in Jenkins . Job1 (Seed job) : Pull the Github repo automatically when some developers push repo to Github .

Seed job has been configured ,Now we have to just build the job.After the successfull build of the job we can see a new pipeline in our dashboard.So we just build the pipeline.

Related Articles