Posts

Using Jenkins pipeline with maven, tomcat & docker to deploy spring application.

Assalam o Alaikum Let's get some hands on Jenkins pipeline. This blog will help you with getting some basic idea of how to work on Jenkins pipeline with docker. Prerequisite 1. Some knowledge of Jenkins, at-least knowing its purpose. 2. Basic knowledge of what docker does & get docker running on your system. What will we achieve We will be running Jenkins on docker. Create a pipeline project. Maven build will be made with docker. The war file generated will be deployed on tomcat server running on docker. Lets start with setting up Jenkins on docker. Jenkins is easy to start on docker but you might face some issues. First see the docker-compose file I am using Code: Why I am using the docker compose file? This docker-compose file is used to quick start a docker setup with docker containers linked with each other. In this case I am starting a single docker container for which I don't need it but it makes easy to manage configurations. Don't worry i
Recent posts