Noucair ZemraniPlatform engineering & practical automation
← All projectsPUBLIC ENGINEERING LAB

REPEATABLE DELIVERY · JENKINS & DOCKER

Jenkins and Docker CI/CD: From GitHub Push to Website Check

A small learning lab that connects a GitHub webhook to Jenkins jobs and a Docker-hosted website.

JenkinsDockerGitHub webhooksGroovy

THE USE CASE

Make website delivery repeatable.

Imagine changing a small website and wanting the same basic steps to happen each time. This public lab uses a GitHub push to start Jenkins, then separates the work into three jobs: copy the source into the Jenkins workspace, start the website in a Docker container, and check whether the site responds.

This is a learning lab. It shows the shape of a delivery workflow; it does not claim production scale, security hardening, or measured deployment results.

THE WORKFLOW

One change, four clear steps

The developer pushes a change. Jenkins runs the jobs in sequence. Docker hosts the site, and the last job checks that it responds.

01 · CHANGE

Push to GitHub

A developer commits a website change. The repository webhook notifies Jenkins.

02 · PREPARE

Copy the source

The first Jenkins job places the repository source in the Jenkins workspace.

03 · RUN

Start the website

The next job uses Docker to launch the website container.

04 · VERIFY

Check the response

The final job checks whether the website responds instead of assuming deployment worked.

In simple words: the push starts the process, Jenkins runs the steps, Docker runs the site, and the final job checks it.

WHAT THE LAB INCLUDES

Three jobs and a shared-library experiment

Each job has one clear purpose. The DevOps-Project repository documents the GitHub webhook and three Jenkins jobs. A separate public shared-library repository contains Groovy helpers named buildJar, buildImage, dockerLogin, dockerPush, and deployApp. The shared-library work also explores Maven packaging and Docker build, login, and push helpers. This page describes the documented components without inventing a Jenkinsfile or claiming production results.

View the DevOps-Project repository ↗
View the Jenkins shared-library repository ↗

WHAT THIS DEMONSTRATES

Useful habits for a delivery workflow

  • Let a repository event start the delivery process.
  • Give each job a clear responsibility.
  • Use a container to run the website in the lab.
  • Include a check after deployment instead of assuming success.

This is a public demonstration, not evidence of a production deployment or a measured uptime improvement. The interactive workflow on the portfolio is a separate illustrative simulation.

Related reading: When should your automation stop a rollout?

Related project: WhatsApp AI Menu Application: From application code to a portable environment.

BUILDING DELIVERY WORKFLOWS?

Let’s make each release step clear.

Share your repository, deployment target, and the checks you need after a release.

Discuss your project ↗