apemberton's blog

Top 10 Best Practices for Jenkins Pipeline Plugin

The Jenkins Pipeline plugin is a game changer for Jenkins users. Based on a Domain Specific Language (DSL) in Groovy, the Pipeline plugin makes pipelines scriptable and it is an incredibly powerful way to develop complex, multi-step DevOps pipelines. This document captures some definite Do's and Don'ts of writing Jenkins Pipelines - with code examples and explanations. 1. Do: Use...

Using the Pipeline Plugin to Accelerate Continuous Delivery -- Part 3

Scaling Your Pipeline As you build more of your DevOps pipelines with Pipeline, your needs will get more complex. The CloudBees Jenkins Platform helps scale Pipeline for more complex uses. Checkpoints One powerful aspect of the CloudBees extensions to Pipeline is the checkpoint syntax. Checkpoints allow capturing the workspace state so it can be reused as a starting point for...

Using the Pipeline Plugin to Accelerate Continuous Delivery -- Part 2

In this blog series, we will provide an introduction and step-by-step guide on how to use the Pipeline plugin. This is Part 2: Integrating Your Tools For a real-life pipeline, Jenkins needs to integrate with other tools, jobs and the underlying environment. Tools Jenkins has a core capability to integrate with tools. Tools can be added and even automatically installed on your build...

Using the Pipeline Plugin to Accelerate Continuous Delivery -- Part 1

Jenkins is a powerful, open source automation tool with an impressive plugin architecture that helps development teams automate their software lifecycle. Jenkins is used to power many industry-leading companies’ software development pipelines. Jenkins Pipeline is a powerful, first-class feature for managing complex, multi-step pipelines. Jenkins Pipeline, a set of open source...

Multi-tenancy with Jenkins

Overview As your Jenkins use increases, you will likely extend your Jenkins environment to new team members and perhaps to new teams or departments altogether. It’s quite a common trend, for example, to begin using Jenkins within a development team then extend Jenkins to a quality assurance team for automating tests for the applications built by the development teams. Or perhaps...