Mastering Jenkins CI/CD

From Basics to Advanced Pipelines

Main Speaker

Learning Tracks

Course ID

42628

Date

01/12/2024

Time

Daily seminar
9:00-16:30

Location

John Bryce ECO Tower, Homa Umigdal 29 Tel-Aviv

Overview

In today’s DevOps landscape, continuous integration and continuous delivery (CI/CD) are essential practices for delivering software quickly and efficiently. This hands-on workshop, “Mastering Jenkins CI/CD: From Basics to Advanced Pipelines,” is designed for DevOps professionals looking to enhance their CI/CD capabilities using Jenkins. Throughout this 8-hour session, participants will start with foundational concepts and gradually progress to advanced Jenkins configurations and pipeline automation. The workshop will provide practical, hands-on experience in setting up and managing Jenkins pipelines, integrating with popular tools and platforms, and implementing Jenkins as Code for streamlined, repeatable configurations. Participants will leave with a solid understanding of Jenkins’ capabilities, best practices for CI/CD workflows, and the skills to implement and optimize Jenkins pipelines in real-world environments.
  • Key Focus Areas:
    • Hands-On Learning: Direct interaction with Jenkins to build and optimize CI/CD pipelines.
    • Progressive Complexity: Start with foundational skills and progress to advanced Jenkins features.
    • Real-World Applications: Practical exercises and scenarios tailored to real-world DevOps environments.

Who Should Attend

DevOps professionals needing to build and optimize CI/CD pipelines.

Prerequisites

Course Contents

  1. Introduction to Jenkins Pipelines 
    • Overview of Jenkins and its role in CI/CD.
    • New features in Jenkins 2.473.
    • Jenkins architecture and components.
    • Hands-On: Creating and running a simple Freestyle Job.
    • Introduction to Declarative and Scripted Pipelines.
    • Hands-On: Create a basic pipeline using Declarative syntax.
  2. Intermediate Jenkins Pipelines 
    • Advanced Pipeline Features: Parallel and Sequential Stages.
    • Using environment variables and credentials.
    • Handling Errors, Failures, and Retries.
    • Conditional Execution and When Conditions.
    • Hands-On: Implement advanced pipeline features (parallel stages, error handling, etc.) in a Jenkinsfile.
  3. Integrating Jenkins with External Tools
    • Tool Integration: Slack, Jira, GitHub, Docker, Kubernetes.
    • API Calls: Using HTTP requests or specific plugins to communicate with external services during the pipeline.
    • Hands-On: Enhance a pipeline by integrating with external tools (e.g., Docker and Slack notifications).
Afternoon Session:
  1. Jenkins as Code
    • Jenkins Configuration as Code (JCasC) Basics.
    • Managing Jenkins Configuration using JCasC.
    • Using Jenkinsfile for Pipeline as Code.
    • Hands-On: Configure Jenkins using JCasC, create a repository for Jenkins configuration, and implement a pipeline using Jenkinsfile.
  1. Integrating Jenkins with Container Technologies
    • Building Docker Images within Jenkins Pipelines.
    • Multistage Docker Builds: Benefits and best practices.
    • Running Jenkins Pipelines inside Containers: Isolating environments for consistency.
    • Hands-On: Create a Jenkins pipeline that builds a Docker image using multistage builds.
  1. Advanced Jenkins Security and Best Practices
    • Securing Jenkins (user roles, authorization, and authentication).
    • Best practices for credentials management.
    • Hands-On: Secure a Jenkins instance by setting up user roles and managing credentials.
  1. Wrap-up and Q&A
    • Recap of key concepts and workshop learnings.
    • Discussion of real-world scenarios and best practices for CI/CD workflows.
    • Open Q&A session.
    • Next steps and additional resources.

The conference starts in

Days
Hours
Minutes
Seconds