Jenkins Essential Training

Jenkins Essential Training

2h 34mIntermediate2025-01-13

Authors

Robert Starmer

Robert Starmer

Cloud Advisor, Founder of Kumulus Technologies

Course details

If you want to build, deploy, and implement continuous delivery as code, you’ve likely heard about Jenkins, the popular DevOps suite known for its open-source extensibility and ease of use. Jenkins also lets you automate your entire enterprise as a software delivery pipeline. In this course, instructor Michael Jenkins shows you the fundamentals of navigating the platform so you can start automating builds and testing and securing deployments.

Learn about the core functions of Jenkins, progressing from intermediate to more advanced use cases and highlighting best practices and customization tips. Find out how to create a pipeline, integrate Jenkins with version control systems, distribute agents like Docker containers, run and publish tests, produce artifacts for review, and secure your DevOps loop by configuring users and permissions. Try out your new skills along the way in the challenges at the end of each section.

Skills covered

JenkinsDevOps ToolsDevOpsEssential TrainingOpen Source

Concepts

Introduction

  • From code to production with Jenkins
  • What you should know

Jenkins and DevOps

  • Jenkins and the DevOps lifecycle
  • Challenge - Deploy a Jenkins server
  • Solution - Deploy a Jenkins server

The Jenkins Pipeline

  • Create a pipeline project
  • Create a declarative pipeline
  • Use the pipeline Snippet Generator
  • Use variables in a pipeline
  • Parameterize a pipeline
  • Use conditional expressions and manual approvals
  • Challenge - Develop a parameterized pipeline
  • Solution - Develop a parameterized pipeline

Integrate Jenkins with Version Control Systems

  • Pipeline as code with Jenkinsfile
  • Connect Jenkins to GitHub
  • Run scripts from the pipeline
  • Add a status badge to Markdown files
  • Challenge - Connect Jenkins to GitHub
  • Solution - Connect Jenkins to GitHub

Agents and Distributed Builds

  • Distribute builds with agents
  • Add an SSH agent to Jenkins
  • Add Docker agents to Jenkins
  • Challenge - Improve a Docker agent pipeline
  • Solution - Improve a Docker agent pipeline

Artifacts and Testing

  • Artifacts and fingerprinting
  • Publish test results and code coverage reports
  • Use test results to stop a build
  • Challenge - Create artifacts and reports
  • Solution - Create artifacts and reports

Securing Jenkins

  • Secure Jenkins with user accounts
  • Configure project-based permissions
  • Use secrets and credentials
  • Challenge - Configure users and permissions
  • Solution - Configure users and permissions

Conclusion

  • Next steps
80,000 Toman