This project demonstrates how to integrate Jenkins with GitHub for seamless Continuous Integration and Continuous Deployment (CI/CD) workflows. It provides a simple Node.js application and a ready-to-use Dockerfile to help you quickly set up a Jenkins pipeline that automatically builds and tests your code whenever changes are pushed to your GitHub repository.
- Purpose:
To showcase the integration of Jenkins with GitHub, enabling automated builds and tests for a Node.js application using Docker. - Tech Stack:
- Node.js
- Docker
- Jenkins
- GitHub
- Sample Node.js application for demonstration.
- Dockerfile for containerized builds.
- Jenkins pipeline configuration for automated CI/CD.
- Example GitHub webhook setup for triggering Jenkins jobs on code changes.
git clone https://github.com/aditya-nv-06/Jenkins.git
cd Jenkinsdocker build -t jenkins-demo-app .npm install
npm start- Install Jenkins (locally or via Docker).
- Install required plugins: Git, Docker, NodeJS, etc.
- Create a new Jenkins pipeline and point it to this repository.
- Configure your GitHub repository webhook to notify Jenkins of pushes and pull requests.
Push code changes to your GitHub repository. Jenkins will automatically build and test your application.
.
├── Dockerfile
├── app.js
├── package.json
└── README.md
Contributions are welcome! Feel free to fork the repository, open issues, or submit pull requests.
This project is open-source and available under the MIT License.
Maintained by Aditya N V