Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added EC2 Instances(Jenkins,Nexus,Tomcat).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added GitHub Repository Checkout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 78 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,78 @@
# one

Project: End-to-End CI/CD Pipeline for Java Web Application using Jenkins, GitHub, Nexus, and Tomcat on AWS EC2

-->Built an automated CI/CD pipeline using Jenkins Pipeline on AWS EC2

-->Automated Java application build using Maven with SonarQube quality checks

-->Stored build artifacts in Nexus Repository Manager

-->Deployed WAR files automatically to Apache Tomcat

-->Reduced manual work and improved build reliability


<img width="1920" height="1080" alt="EC2 Instances(Jenkins,Nexus,Tomcat)" src="https://github.com/user-attachments/assets/ae58c1d9-880b-4e4b-9f42-4096971b9090" />
three running AWS EC2 instances used for a CI/CD pipeline:
- Jenkins for CI
- Nexus for artifact repository
- Tomcat for application deployment
<img width="1920" height="1080" alt="jenkins server" src="https://github.com/user-attachments/assets/69289093-7ce5-44ee-aee1-89d2bbdacb80" />
<img width="1920" height="1080" alt="nexus server" src="https://github.com/user-attachments/assets/b823dca6-bbcd-42ce-8859-4bf4f89285ad" />
<img width="1920" height="1080" alt="tomcat server" src="https://github.com/user-attachments/assets/ba8ef464-8230-4b99-af31-ce31b30b7f62" />

<img width="1920" height="1080" alt="pipeline job creation" src="https://github.com/user-attachments/assets/af569367-9086-4943-928d-d010daba0c87" />

<img width="1920" height="1080" alt="Jenkins Pipeline Job Configuration GitHub Source Checkout" src="https://github.com/user-attachments/assets/d119dd07-f6e5-41f1-ba9f-07942faf2606" />
Jenkins Pipeline job configuration where the pipeline script pulls source code from a GitHub repository using the git step in a declarative pipeline.

<img width="1920" height="1080" alt="GitHub Repository Checkout" src="https://github.com/user-attachments/assets/336842e6-2169-4013-b1e4-55c9abb9b557" />
Jenkins pipeline stage logs confirming a successful clone and checkout of source code from a GitHub repository during the CI build process.

<img width="1920" height="1080" alt="Maven Build" src="https://github.com/user-attachments/assets/97fe5f66-c5dd-4bf9-89ee-4890a98707bd" />
where source code is cloned from GitHub and built using Maven (mvn clean package) as part of the CI process.

<img width="1920" height="1080" alt="Console Output – Maven Build Execution" src="https://github.com/user-attachments/assets/117545f5-4609-47ea-a59b-3d4289da6ae0" />
This displays the Jenkins console output showing a successful Maven build (mvn clean package), where dependencies are downloaded and a WAR file is generated as part of the CI pipeline.

<img width="1920" height="1080" alt="Build, Nexus Upload Tomcat Deployment" src="https://github.com/user-attachments/assets/545e9eb6-f502-4ced-8ee7-2cad001685ff" />
enkins declarative pipeline script that builds a Java application using Maven, uploads the generated WAR file to Nexus Repository Manager, and deploys it to an Apache Tomcat server automatically.

<img width="1920" height="1080" alt="Nexus Repository" src="https://github.com/user-attachments/assets/db8c66dd-4a95-437c-8b2c-c89516f5605b" />
This is the successful upload of a Maven WAR artifact to Sonatype Nexus Repository Manager.
The artifact is generated by Jenkins after a successful Maven build and stored for version control and deployment.

**Artifact Details:**
- Group ID: `in.javahome`
- Artifact ID: `myweb`
- Version: `8.6.9`
- Packaging: WAR

<img width="1920" height="1080" alt="Nexus Artifact Upload Successful" src="https://github.com/user-attachments/assets/cdfc59e8-536e-48dd-a308-529a7683d488" />
Jenkins console output confirming the successful upload of the myweb-8.6.9.war artifact to the Nexus Repository using the Nexus Artifact Uploader plugin.

<img width="1920" height="1080" alt="WAR Deployment to Tomcat Successful" src="https://github.com/user-attachments/assets/f4cf981b-cea7-4891-afae-f2b21a988e08" />
Jenkins console output confirming the successful undeploy and redeploy of the myweb-8.6.9.war application to a remote Apache Tomcat 9.x server using the Deploy to Container plugin.

<img width="1920" height="1080" alt="Tomcat Manager Deployed Application Running" src="https://github.com/user-attachments/assets/d4ce30c9-093f-4bdf-b03d-22b9a7075f33" />
Apache Tomcat Web Application Manager confirming that the deployed web application is running successfully after Jenkins-based WAR deployment.
<img width="1920" height="1080" alt="web application" src="https://github.com/user-attachments/assets/58b2460b-89b8-43b6-8ee3-0a139a389682" />
<img width="1920" height="1080" alt="tomcat manager details" src="https://github.com/user-attachments/assets/348b3a8c-4e5f-42e2-aac1-f3360596cb8d" />

<img width="1920" height="1080" alt="all pipeline builds sucess" src="https://github.com/user-attachments/assets/561e732a-71a3-4267-b2e4-81508840e088" />
<img width="1920" height="1080" alt="pipeline stages" src="https://github.com/user-attachments/assets/6ebbfadc-59d2-4dad-ad35-f14c2ea80367" />

<img width="1920" height="1080" alt="pipeline job" src="https://github.com/user-attachments/assets/14d8bcd2-f630-45c7-a6f8-202c26b069a6" />













2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
hello buddy
heyyy buddy
this is automation work with jenkins
we are implementing webhooks for making automation
thanks
Binary file added pipeline job creation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.