---
title: "Discussion on \"Automated CI/CD pipeline for Java Project\" | Hashnode"
description: "Discussion on \"Automated CI/CD pipeline for Java Project\". In this article, we will be creating an automated CI/CD pipeline for your Java project using Jenkins, Docker, and AWS. With this pipeline, your project will be automatically built, tested, and deployed to your AWS EC2 instance every time you push cod..."
url: "https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Automated CI/CD pipeline for Java Project](https://palak-bhawsar.hashnode.dev/automated-cicd-pipeline-for-java-project?utm_source=hashnode&utm_medium=feed)

In this article, we will be creating an automated CI/CD pipeline for your Java project using Jenkins, Docker, and AWS. With this pipeline, your project will be automatically built, tested, and deployed to your AWS EC2 instance every time you push cod...

Mar 22, 2023 · 6 min read · palak-bhawsar.hashnode.dev  
Read the article

-   [#devops](https://hashnode.com/tag/devops)
-   [#aws](https://hashnode.com/tag/aws)
-   [#jenkins](https://hashnode.com/tag/jenkins)
-   [#docker](https://hashnode.com/tag/docker)

## Written by

[Palak Bhawsar](https://hashnode.com/@palakbhawsar98)

@palakbhawsar98 · Leeds, United Kingdom

  
[View profile](https://hashnode.com/@palakbhawsar98)

Cloud Platform Engineer · 20k+ followers on LinkedIn · IBM Champion 2026 · 3x AWS Certified, Azure & Terraform Certified · Technical Blogger · Free 1:1 mentoring → Topmate

Cloud Platform Engineer with 5+ years of experience in cloud automation, CI/CD, and infrastructure optimisation, I specialise in streamlining deployments, enhancing system resilience, and reducing operational costs.

## Responses 13

Markdown supported · ⌘↵ to post

[Shiva krishna Addikicherla](https://hashnode.com/@shivakrishna0102)

[May 23, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/646c9cac9098493346f6e0d1)

at step 3 what is the reason behind creating another instance we already created an instance and installed docker.io in it

[mayuresh Gudsurkar](https://hashnode.com/@Mayuresh007)

[Apr 11, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/6434e74047aba44dec0c2ee2)

Great

[Chijioke Nwafor](https://hashnode.com/@Justdoit)

[Apr 6, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/642eaa3ea632112908c2b294)

Hello Palak, thanks for the blog. I followed the steps taken, but I'm having errors on the Maven build step. "Failed to execute goal \[32morg.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile\[m \[1m(default-compile)\[m on project \[36mWebApp\[m: \[1;31mFatal error compiling\[m: error: invalid target release: 17 ->"

[shubhlaxmi S](https://hashnode.com/@shubhlaxmi)

[Mar 29, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/6423ca3904cf14910722acc6)

Nice

[shubhlaxmi S](https://hashnode.com/@shubhlaxmi)

[Mar 29, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/6423c3b09d72cf9052890b05)

well explained

[Palak Bhawsar](https://hashnode.com/@palakbhawsar98)

[Mar 28, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/6422d97d40255888e0eb1ede)

[github.com/palakbhawsar98/DevOps-CI-CD-Project](https://github.com/palakbhawsar98/DevOps-CI-CD-Project)

The name of the repository has changed from javaWebApp to this

[ameel mohammad](https://hashnode.com/@AMEELMOHAMMAD)

[Mar 27, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/6421dafba1f9d0813092214c)

Hi i didnt find this repository in github. can u please provide me link to practice

[Prithibi Saha](https://hashnode.com/@devopswithprith)

[Mar 23, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/641c5fbf88cf343b36fc70ac)

Really informative and efficient to add in profile

[Chandramouli Joshi](https://hashnode.com/@Chandru1980)

[Mar 23, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/641c57f088cf343b36fc6f72)

Hi.. Can you Shere me some more to practice..

[Vishal Verma](https://hashnode.com/@vish2verma)

[Mar 23, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/641c3f98d845563b064c00fd)

Thumbs up.

[Jennifer Dsouza](https://hashnode.com/@jendsouza)

[Mar 23, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/641c0632429c76261884e961)

hello palak

i tried to follow all the steps as mentioned in the blog, maven step is failing could you please help to resolve the user

Stage "Maven Test" skipped due to earlier failure(s)

[bhaskar teja](https://hashnode.com/@Bhaskarteja)

[Mar 25, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/641c0632429c76261884e961#reply-641f0b1305c482464c90c92e)

maven needs to be 3.9.1 I tried and JAVA\_HOME needs to be put properly.

[Chijioke Nwafor](https://hashnode.com/@Justdoit)

[Apr 6, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/641c0632429c76261884e961#reply-642eaa61d5c9e428d8ee1984)

[bhaskar teja](https://hashnode.com/@Bhaskarteja) sorry do you mind explaining

[Rizwan Ahmad Khan](https://hashnode.com/@Rizwankhan)

[Jul 25, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/641c0632429c76261884e961#reply-64bf5820c6ba3a1b38985af6)

[bhaskar teja](https://hashnode.com/@Bhaskarteja) pls explain

[Aniket Kharpatil](https://hashnode.com/@aniketkharpatil)

[Mar 22, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/641aeeeaa581f3121e2946df)

great!

[Sandip Kumar](https://hashnode.com/@sandip77)

[Mar 22, 2023](https://hashnode.com/posts/automated-cicd-pipeline-for-java-project/641a80c22a2855f8ee162efb/comment/641ac6f1a581f3121e293bd9)

it helped me. thanks
