After Powering off an EC2 instance and restarting it,

  1. SSH into the instance using the new ip address
  2. show the list of last running containers docker ps -a
  3. Restart Jenkins using sudo docker start jenkins

Screenshot 2026-07-29 054239.png

Login into the Jenkins UI using the user id and password previously created

Screenshot 2026-07-29 054420.png

Depending on your App/Programming Language, You need to have different build tools Installed and configured on Jenkins

There are 2 Ways to install and configure Build Tools on Jenkins

  1. Through Jenkins Plugin (By installing the plugin of the tools that I need via UI)
  2. Install Tools directly on server, inside the container (through the Command Line)

Maven Plugin Installation (UI)

Step 1: Go to Settings (Top right corner)

Screenshot 2026-07-29 060418.png

Step 2: Click on Tools

Screenshot 2026-07-29 061123.png

Step 3: Scroll down to Maven and Click on Add Maven

Screenshot 2026-07-29 061322.png

Step 4: Give it a name, select version and click on save

Screenshot 2026-07-29 061544.png