This project demonstrates a basic CI/CD pipeline using Jenkins, integrated with a Node.js + Express Dockerized web application.
├── app.js ├── Dockerfile ├── Jenkinsfile ├── package.json ├── package-lock.json ├── public/ ├── src/ ├── templates/
- Node.js
- Express.js
- Docker
- Jenkins
- GitHub
The Jenkins pipeline (Jenkinsfile) consists of the following stages:
- Build – Echoes a placeholder build step.
- Test – Runs mock test scripts or echo command.
- Deploy – Echoes deploy step (can be replaced with actual deployment logic).
A Dockerfile is included to containerize the application.
docker build -t my-node-app docker run -p 3000:3000 my-node-app
npm install node app.js Then open http://localhost:3000 in your browser.