The problem
Manual builds and container updates involve repeated steps. I wanted to learn how to make code validation and local deployment repeatable.
The approach
Store the pipeline in a Jenkinsfile alongside the website. Poll GitHub for new commits, build a tagged image, and only deploy after the smoke test succeeds.
Implementation
A custom Jenkins image provides the Docker CLI. It connects over TLS to a Docker-in-Docker daemon. Persistent volumes retain Jenkins configuration, Docker data, and client certificates. Concurrent builds are disabled for this job.
Validation
The pipeline checks required files, builds an image tagged with the Jenkins build number, and starts a temporary container. HTTP checks verify that the homepage and resume are reachable; the test container is then removed.
What worked
An SCM change triggered the pipeline automatically. Build #6 completed successfully with the deployment stage, and the staging website was opened on localhost:8082. This demonstrates the end-to-end lab workflow, not a production uptime claim.
Scope & next steps
This project deploys to local staging. The public portfolio on Sites is published separately. Browser tests, a registry, automated rollback, and production deployment are not part of this implementation.