O'Reilly logo
live online training icon Live Online training

Getting Started With Jenkins X

Brent Laster

Jenkins has long been the definitive tool and open-source application for creating continuous delivery pipelines. With the advent of Jenkins 2.0, (as covered in my other book), users can code pipelines with a rich DSL, create resilient and restartable pipelines, easily interface with GitHub and leverage integrated support for Docker containerization. There is more information to share on “using Jenkins less” - that is - letting Jenkins be the overall orchestrator and spin up Docker containers or Terraform operations to create self-contained temporary environments to do its work in.

Beyond that, Jenkins is being combined with key tools like Helm, Prow, and Skaffold to create Jenkins X - a powerful new interface and chaining of tools that can automatically create and deploy CI/CD pipelines into any environment running a Kubernetes cluster. That includes on-prem, minikube, AWS, GKE, and Azure. Jenkins X also provides ready-made environments for multiple types of development work, including ones for Go and other languages.

This fulfills an important need and requirement for DevOps organizations - to be able to easily and quickly get developers able to push code and have it go through a consistent and reliable CI/CD pipeline customized for their organization - a pipeline that uses industry-standard technologies and can run in any environment - cloud or on-prem.

What you'll learn-and how you can apply it

By the end of this live, hands-on, online course, you’ll understand:

  • What Jenkins X is and why it exists
  • How Jenkins X automates working with Kubernetes
  • How Jenkins handles creation and workflow for CI/CD pipelines
  • The kinds of quickstarts (languages, platforms) available to get up and running quickly via Jenkins X
  • The overall workflow of Jenkins X
  • The purpose and difference between the different standard environments that Jenkins X provides
  • The purpose and intent of preview environments in Jenkins X
  • How to take an application from start to production in Jenkins X

And you’ll be able to:

  • Simply and easily create a fully functioning Kubernetes cluster using Jenkins X
  • Install Jenkins x on a cluster and automatically have a full CI/CD pipeline with staging and production environments
  • Use Jenkins X quickstarts to quickly create and develop applications
  • Create and use preview environments to test out changes before they are promoted to production
  • Take an application from start to production in Jenkins X

This training course is for you because...

  • You’re a DevOps professional who wants to be able to simply and easily setup CI/CD pipelines using Jenkins and Kubernetes
  • You’re a software developer who needs to effortlessly develop using CI/CD pipelines
  • You want to be able to do CI/CD on any cloud or on prem

Prerequisites

  • Experience with Jenkins 2
  • Basic understanding of continuous integration and continuous delivery (CI/CD)

  • Recommended preparation:

Take any of my live online training courses on Jenkins 2:

About your instructor

  • Brent Laster is a global trainer, author, and speaker on open source technologies as well as a senior R&D manager at a top technology company. He has been involved in the software industry for more than 25 years, holding various technical and management positions.

    Brent has always tried to make time to learn and develop both technical and leadership skills and share them with others. He believes that regardless of the topic or technology, there’s no substitute for the excitement and sense of potential that come from providing others with the knowledge they need to accomplish their goals.

Schedule

The timeframes are only estimates and may vary according to how the class is progressing

Intro/Foundations (30 minutes)

  • Presentation: Introduction to Jenkins X - what it is, motivation behind it, what problems it solves
  • Presentation: Quick background on underlying technology - Kubernetes
  • Lab 1(15 minutes)
  • Exercise: Creating a cluster with Jenkins X
  • Q&A

Pipelines (20 minutes)

  • Presentation: Using Jenkins X to create a CI/CD pipeline in a cluster. What pieces are installed and how they are used. How to swap out other applications for the defaults.
  • What you get when the pipeline is setup.
  • Lab 2(10 minutes)
  • Exercise: Creating a default CI/CD pipeline in the cluster using Jenkins X.
  • Q&A
  • Break (5 min)

Quickstarts (20 minutes)

  • Presentation: Quickstarts - how to quickly and easily spin up new projects using Jenkins X. Surveying the types of projects that can be created via Jenkins X. Typical options for quickstarts. How to import an existing project. Initial automated workflow for new projects.
  • Lab 3(10 minutes)
  • Exercise: Creating a new Go project in Jenkins X via a quickstart.
  • Q&A

Lifecycle (30 minutes)

  • Presentation: Development lifecycle with Jenkins X and the CI/CD pipeline. Making changes, creating issues and creating pull requests with Jenkins X. Using preview environments in Jenkins X.
  • Lab 4(15 minutes)
  • Exercise: Creating a pull request and using preview environments.
  • Q&A
  • Break (5 min)

Promotion (15 minutes)

  • Presentation: Promoting to production in Jenkins X. .
  • Lab 5(10 minutes)
  • Exercise: Creating a pull request and using preview environments.
  • Q&A