jenkins

Jenkins declarative pipelines with Kubernetes

Deploy Jenkins using Helm, create Jenkins declarative pipelines and execute builds in Kubernetes pods

Radu Matei

7 minute read

Table of Contents Introduction Prerequisites Deploying Jenkins with Helm Create credentials for your image repository The Jenkinsfile Using the Jenkinsfile Investigating what actually happens in the cluster Conclusion Feedback Introduction In previous articles we deployed a Kubernetes 1.8 cluster to Azure using acs-engine, then configured Helm and Draft to simplify testing applications. In this article we will explore how to deploy Jenkins using Helm and how to configure Jenkins declarative pipelines that build containers, push images to an image repository and update Kubernetes deployments.