DevOps · Automation and continuous delivery

Jenkins CI/CD

Learn Jenkins fundamentals, continuous integration, continuous delivery, Jenkins pipelines, Jenkinsfile, agents, credentials, webhooks, Docker integration, testing, deployment, and pipeline security.

Move from Jenkins setup and pipeline fundamentals to a complete Automated CI/CD Pipeline for a sample application with build, test, Docker image creation, and deployment stages.

Intermediate 5 Weeks 10 Modules Online / Classroom Automated CI/CD Pipeline Project

Course overview

Jenkins is a widely used automation server for implementing continuous integration and continuous delivery workflows. It helps teams build, test, package, and deploy software more consistently and reliably.

This course introduces Jenkins fundamentals, installation, jobs, builds, plugins, pipelines, Jenkinsfile, agents, nodes, credentials, environment variables, webhooks, Docker integration, testing, deployment, and pipeline security.

The proposed capstone is an Automated CI/CD Pipeline for a sample application. It covers source-code checkout, dependency installation, testing, build, Docker image creation, artifact handling, and deployment readiness.

A reliable CI/CD pipeline requires more than automation. It needs clear stages, meaningful tests, secure credential handling, useful logs, rollback planning, and repeatable environments.

Prerequisites

This course is designed for learners with basic programming, Git, and command-line familiarity.

  • Basic computer knowledge.
  • Basic Git and GitHub knowledge.
  • Comfort using a terminal or command prompt.
  • Basic understanding of software builds and testing.
  • Basic Docker awareness is helpful.
  • Basic Linux knowledge is helpful but not required.

Readiness activity

List the steps needed to take code from a developer’s computer to a tested application deployment. Identify where automation could reduce manual effort.

Who can explore this course?

Developers

Automate workflows

Build, test, and deploy applications using automated pipelines.

DevOps learners

Learn CI/CD

Understand Jenkins pipelines, agents, credentials, and deployment automation.

Students

Build DevOps skills

Develop practical automation and software-delivery knowledge.

IT professionals

Improve delivery

Reduce repetitive build, test, and release tasks through automation.

What you will learn

  • Explain CI, CD, and continuous deployment concepts.
  • Install and configure Jenkins.
  • Create and manage Jenkins jobs and builds.
  • Use Jenkins plugins and manage plugin updates.
  • Understand agents, nodes, and executor concepts.
  • Create declarative and scripted Jenkins pipelines.
  • Write and maintain a Jenkinsfile.
  • Use stages, steps, environment variables, and parameters.
  • Integrate Jenkins with Git and GitHub.
  • Configure webhooks and automated build triggers.
  • Use Jenkins credentials securely.
  • Integrate Docker, testing, artifacts, and deployment workflows.

Curriculum outline

The ten-module outline moves from Jenkins fundamentals to a complete Automated CI/CD Pipeline. Exact Jenkins version, cloud platform, Docker registry, and deployment target should be confirmed before delivery.

01

CI/CD and Jenkins fundamentals

Understand the purpose of automation in modern software delivery.

  • Continuous integration concepts.
  • Continuous delivery and continuous deployment.
  • Build, test, package, and release stages.
  • Jenkins architecture and terminology.
  • Jenkins controller and agents.
  • Common CI/CD workflow patterns.

Practice: Draw a CI/CD workflow showing code commit, build, test, package, and deployment stages.

02

Jenkins installation and setup

Set up Jenkins and understand its core interface and configuration.

  • Jenkins installation options.
  • Initial setup and admin configuration.
  • Jenkins dashboard and navigation.
  • System configuration.
  • Plugin installation and updates.
  • Basic Jenkins security concepts.

Practice: Install Jenkins, complete initial setup, and install required plugins.

03

Jobs, builds, and plugins

Create Jenkins jobs and understand build execution, configuration, and reporting.

  • Freestyle jobs and pipeline jobs.
  • Build triggers and scheduling.
  • Build history and console output.
  • Environment variables.
  • Build parameters.
  • Plugin selection and management.

Practice: Create a Jenkins job that runs a simple build command and displays console output.

04

Git, GitHub, and webhooks

Connect Jenkins to source-control repositories and automate builds from code changes.

  • Git integration concepts.
  • Repository checkout and branches.
  • GitHub integration.
  • Webhooks and push triggers.
  • Pull-request build concepts.
  • Build status notifications.

Practice: Configure a Jenkins job to build automatically when code is pushed to an approved GitHub repository.

05

Jenkins pipelines and Jenkinsfile

Define repeatable build workflows as code using Jenkins pipelines.

  • Pipeline concepts and benefits.
  • Declarative pipeline syntax.
  • Scripted pipeline overview.
  • Pipeline, agent, stages, and steps.
  • Jenkinsfile structure.
  • Pipeline visualization and logs.

Practice: Create a Jenkinsfile with checkout, build, and test stages.

06

Agents, nodes, and distributed builds

Understand how Jenkins executes work across controllers and agents.

  • Controller and agent architecture.
  • Nodes and executors.
  • Agent labels and node selection.
  • Cloud agents and containerized agents.
  • Build distribution concepts.
  • Agent troubleshooting.

Practice: Configure an agent label and run a pipeline stage on the selected agent.

07

Credentials, secrets, and security

Handle sensitive information safely in Jenkins pipelines.

  • Jenkins credentials types.
  • Storing credentials securely.
  • Using credentials in pipelines.
  • Secret-text and secret-file concepts.
  • Role-based access concepts.
  • Secrets hygiene and audit practices.

Practice: Store a test credential securely and reference it in a pipeline without printing its value.

08

Testing, Docker, and artifacts

Add quality checks, container builds, and artifact management to a pipeline.

  • Unit and integration test stages.
  • Test reporting and failure handling.
  • Docker concepts for CI/CD.
  • Building Docker images in Jenkins.
  • Pushing images to a registry.
  • Archiving build artifacts.

Practice: Add a test stage and Docker image-build stage to a Jenkins pipeline.

09

Deployment, monitoring, and troubleshooting

Deploy approved builds and investigate pipeline failures systematically.

  • Deployment environments and approvals.
  • Deployment strategies and rollback concepts.
  • Environment-specific configuration.
  • Pipeline logs and debugging.
  • Common Jenkins errors.
  • Monitoring build health and duration.

Practice: Add a controlled deployment stage and document a rollback procedure.

10

Capstone delivery

Complete the Automated CI/CD Pipeline project and prepare a professional Jenkins demonstration.

  • Define application, repository, and pipeline scope.
  • Create a Jenkinsfile with clear stages.
  • Configure Git and webhook triggers.
  • Add build, test, Docker, and artifact stages.
  • Use credentials securely.
  • Document setup, pipeline flow, and rollback steps.
  • Prepare a final demonstration and README.

Practice: Submit a complete Automated CI/CD Pipeline with Jenkinsfile, documentation, test results, and deployment instructions.

Practical exercise ideas

Complete these smaller activities before assembling the final Automated CI/CD Pipeline project.

Jenkins

First Jenkins job

Create a simple job that runs a command and records build output.

Git

GitHub build trigger

Configure a Jenkins job to build when changes are pushed to a repository.

Pipeline

Basic Jenkinsfile

Create a pipeline with checkout, build, and test stages.

Docker

Container image build

Build a Docker image for a sample application in a Jenkins pipeline.

Credentials

Secure secret usage

Use a Jenkins credential in a pipeline without exposing its value.

Deployment

Controlled deployment

Add a deployment stage with approval, environment variables, and rollback documentation.

Suggested five-week learning plan

This is an illustrative learning sequence. Confirm the academy's official timetable, Jenkins environment, Docker registry, cloud platform, and assessment requirements before publishing.

Weekly focus and practical milestones
Week Focus Suggested milestone
01 CI/CD and Jenkins setup Install Jenkins and create a basic job.
02 Git, GitHub, and webhooks Trigger a Jenkins build from a repository push.
03 Pipelines and Jenkinsfile Create a pipeline with build and test stages.
04 Agents, credentials, Docker, and artifacts Add secure credentials and a Docker build stage.
05 Capstone delivery Submit and present the Automated CI/CD Pipeline.
Automate build, test, and delivery

Capstone project

Automated CI/CD Pipeline

Build a complete Automated CI/CD Pipeline for a sample application stored in an approved Git repository. The pipeline should automate code checkout, dependency installation, testing, build, Docker image creation, artifact handling, and deployment readiness.

Core project requirements

  • Create a Git repository containing application source code.
  • Create a Jenkins pipeline job.
  • Use a Jenkinsfile stored in the repository.
  • Define clear pipeline stages and steps.
  • Configure GitHub webhook or polling-based build triggers.
  • Implement checkout, dependency installation, build, and test stages.
  • Add a Docker image build stage where appropriate.
  • Archive build artifacts or test reports.
  • Use Jenkins credentials securely for registry or deployment access.
  • Add environment-specific configuration for staging and production.
  • Document rollback steps and deployment approvals.
  • Provide a README with setup, pipeline, and troubleshooting instructions.

Quality requirements

  • Use meaningful stage names and pipeline structure.
  • Keep pipeline configuration version-controlled.
  • Use least-privilege credentials and avoid hard-coded secrets.
  • Do not print credentials, tokens, or sensitive environment values.
  • Use approved repositories, registries, and deployment targets only.
  • Handle test failures and stop deployment when quality checks fail.
  • Use reproducible dependency installation and build steps.
  • Use clear logging without exposing confidential information.
  • Test the pipeline using a controlled sample application.
  • Document assumptions, limitations, and rollback procedures.

A deployment stage should be controlled and reversible. Use approvals, environment separation, versioned artifacts, and a documented rollback plan before automating production releases.

Suggested project structure

Keep application code, pipeline configuration, Docker files, and documentation organized for maintainability.

jenkins-ci-cd-project/
├── app/
│   ├── src/
│   └── tests/
├── docker/
│   └── Dockerfile
├── jenkins/
│   └── Jenkinsfile
├── scripts/
│   ├── build.sh
│   └── deploy.sh
├── docs/
│   ├── pipeline-design.md
│   └── rollback-plan.md
├── README.md
└── .gitignore

Do not commit Jenkins credentials, API tokens, private keys, cloud secrets, or production configuration to a public repository.

CI/CD pipeline workflow

CI/CD pipelines are iterative. Build failures, test results, deployment issues, and security findings may require changes to application code, pipeline stages, or environment configuration.

Source

Commit and trigger

Push code changes and trigger a Jenkins build through a webhook or schedule.

Build

Prepare the application

Check out source code and install dependencies in a reproducible environment.

Test

Validate quality

Run automated tests and stop the pipeline when critical checks fail.

Package

Create artifacts

Build application packages or Docker images and store versioned artifacts.

Deploy

Release safely

Deploy to approved environments with configuration, approval, and rollback controls.

Monitor

Review results

Track build health, duration, failures, logs, and deployment outcomes.

A Jenkinsfile defines a pipeline as code, making build and delivery workflows easier to review, version, reuse, and reproduce.

Tools and technologies

The exact Jenkins version, cloud platform, Docker registry, and deployment target may vary by delivery. The proposed toolkit focuses on practical Jenkins CI/CD automation.

  • Jenkins
  • Jenkins Pipeline
  • Jenkinsfile
  • Git
  • GitHub
  • Webhooks
  • Docker
  • Docker Hub
  • Shell scripting
  • Maven or npm concepts
  • JUnit concepts
  • Git

Supporting concepts

  • Continuous integration and continuous delivery.
  • Jenkins jobs, builds, plugins, and credentials.
  • Pipeline stages, steps, agents, and nodes.
  • Webhooks, triggers, and build parameters.
  • Docker images, registries, and deployment artifacts.
  • Pipeline security, monitoring, and troubleshooting.

Learning outcomes

By completing the proposed lessons and exercises, aim to demonstrate the following abilities:

  • Explain CI, CD, and Jenkins pipeline concepts.
  • Install and configure Jenkins.
  • Create jobs, builds, and pipeline projects.
  • Write and maintain a Jenkinsfile.
  • Integrate Jenkins with Git and GitHub.
  • Configure webhooks and automated triggers.
  • Use agents, nodes, and executor concepts.
  • Handle credentials and secrets securely.
  • Add testing, Docker, and artifact stages.
  • Build and document an Automated CI/CD Pipeline.

These are learning objectives, not guarantees of employment, certification, placement, or a specific DevOps role. Progress depends on practice, security awareness, troubleshooting, and continued learning.

Related career interests

Illustrative directions for continued learning, not job or placement guarantees.

  • Jenkins CI/CD Trainee
  • DevOps Engineer Trainee
  • Build and Release Engineer Trainee
  • Automation Engineer Trainee
  • Technology Trainee
  • Associate Engineer
  • Support / Implementation Engineer

Portfolio presentation ideas

  • Explain the application, repository, and pipeline purpose.
  • Show the Jenkinsfile stages and workflow diagram.
  • Demonstrate automated GitHub build triggers.
  • Present test, Docker, and artifact stages.
  • Explain secure credential handling.
  • Discuss deployment approvals, rollback, and monitoring.

Frequently asked questions

Who is this course for?

It is suitable for developers, students, DevOps learners, and IT professionals who want to automate software build, test, and deployment workflows.

Do I need programming experience?

Basic programming and Git knowledge are helpful. The course focuses on Jenkins automation, pipelines, and DevOps workflows.

Do I need Docker knowledge?

Basic Docker awareness is helpful for the Docker and deployment modules. The course introduces the required Docker concepts for the proposed pipeline project.

Will the course cover Jenkins pipelines?

Yes. It covers declarative pipelines, scripted pipeline concepts, Jenkinsfile, stages, steps, agents, and pipeline visualization.

Will the course cover GitHub webhooks?

Yes. It covers GitHub integration, webhooks, push triggers, and automated build workflows.

Will the course cover Docker?

Yes. It introduces Docker image building, registry concepts, and container-based CI/CD workflows.

What is the capstone project?

The proposed capstone is an Automated CI/CD Pipeline covering source checkout, dependency installation, testing, build, Docker image creation, artifact handling, and deployment readiness.

Do I need a cloud account?

A cloud account may be required for deployment-related exercises. Confirm the academy's approved cloud provider, account setup, permissions, and security rules before enrollment.

How long is the course?

The supplied course information proposes a duration of five weeks. Confirm the academy's official schedule, Jenkins environment, Docker registry, and assessment requirements.

Does this course guarantee a job?

No. The course can support practical learning and portfolio development, but it does not guarantee employment, placement, certification, or salary.

How do I enroll?

This page is a frontend course-information demonstration. Enrollment, payment, scheduling, and admission workflows are not implemented here.

Automate software delivery

Build your CI/CD pipeline

Study Jenkins, pipelines, Jenkinsfile, agents, credentials, webhooks, Docker, testing, deployment, and pipeline security through a practical portfolio project.