Dynamic Web Project developed in Java, packaged using Maven, QA using SonarQube, and deployed on Alpine Tomcat Container(~200MB) using Jenkins pipeline along with notifications.
Eclipse IDE used to develop the project and the same was converted into maven and was hosted on the Alpine Tomcat Container with the help of the Jenkins tool.
As soon as a commit happens on the master branch, webhook will trigger the build to create new package/artifact and the project will be deployed on Apache Tomcat in realtime.
The whole project is carried out on AWS Cloud.
Prerequisite:
- Java 17 & Apache Tomcat needs to be installed on the server before Jenkins installation.
- JDK8 & Maven 3.9 need to be installed in the tools section of Jenkins as this project is built using jdk8.
- Deploy to Container plugin also needs to be installed. Note - Not installed by default.
- SonarQube tool along with credentials/token to be configured in the Tools section of Jenkins.
- Your personal/company's Docker hub credentials also should be configured in the Credentials section of Jenkins.
Apache Tomcat configuration done in the docker file itself.
http://<container-ip>:8080/manager
We have kept the port number of Tomcat as 8080 as per our choice.
The Jenkinsfile is kept on GitHub as the best practice.
Screenshots:
- Whatsapp Notification
Would love to hear feedback on - bhikesh.khute@outlook.com ❤️


