This post details some of the more advanced Jenkins pipelines using Jenkinsfile.
Basic Jenkinsfile Cookbook
This post shows how to customize standard Pipeline “steps” in Jenkinsfile besides their common usage.
Troubleshooting Groovy Code in Jenkinsfile
In this post, we look into some troubleshooting tips when using independent Groovy scripts in Jenkins pipeline and how to work around those.
Groovy in Jenkinsfile
Groovy is supported in Jenkinsfile for quick scripting. However, lots of features in the Groovy language is not supported and simple works in Groovy can be really tricky in Jenkinsfile.
Sending Emails From Docker Containers
In this post, we looks into how to set up notification emails at the end of CI pipelines in a containerized Jenkins system. First, we look into conventional Jenkins system (directly hosted) that has direct communication to the SMTP server. After that, we will look into adjustments required for a containerized Jenkins system to run in the same environment.
Maven and Gradle Builds in Jenkinsfile
In this post, we will look into how to securely authenticate with Nexus for Maven and Gradle builds in Jenkins pipelines.
Nexus username and password should NOT be stored in plain text on Jenkins slaves or Docker images.
Instead, those credentials should be passed into Jenkins pipeline using withCredentials
step.
Troubleshooting Docker-out-of-Docker
In this blog post, we are using “Docker out of Docker” approach to build Docker images in our containerized Jenkins slaves. We look into a problem usually encountered in that approach, especially when reusing a Docker image for another Kubernetes cluster.