From 4f7bc2b7bb21394f9eefa4df5e567c5968c006b3 Mon Sep 17 00:00:00 2001 From: vishal2-jpg <3bhagathvishal@gmail.com> Date: Mon, 12 Jan 2026 23:50:50 +0530 Subject: [PATCH 01/10] Update deployment message in index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index d971cf9e0..fba8ba236 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@

Congratulations!

You have successfully created a pipeline that retrieved this source application from an Amazon S3 bucket and deployed it to three Amazon EC2 instances using AWS CodeDeploy.

-

For next steps, read the AWS CodePipeline Documentation.

+

SUCCESSFULLY DEPLOYED.

From 7a7492ec4436187ca8a7692a1539e49e8e88a6e0 Mon Sep 17 00:00:00 2001 From: vishal2-jpg <3bhagathvishal@gmail.com> Date: Tue, 13 Jan 2026 00:04:05 +0530 Subject: [PATCH 02/10] Change deployment message from 'SUCCESSFULLY DEPLOYED' to 'SUCCESS' --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index fba8ba236..58054f7b7 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@

Congratulations!

You have successfully created a pipeline that retrieved this source application from an Amazon S3 bucket and deployed it to three Amazon EC2 instances using AWS CodeDeploy.

-

SUCCESSFULLY DEPLOYED.

+

SUCCESS

From 1f968d7812b100a3c6ec28610ec94bb211e35cd2 Mon Sep 17 00:00:00 2001 From: vishal2-jpg <3bhagathvishal@gmail.com> Date: Mon, 19 Jan 2026 22:07:10 +0530 Subject: [PATCH 03/10] Modify index.html by removing a paragraph Removed the 'SUCCESS' paragraph and added an empty paragraph. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 58054f7b7..5e0d9549a 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@

Congratulations!

You have successfully created a pipeline that retrieved this source application from an Amazon S3 bucket and deployed it to three Amazon EC2 instances using AWS CodeDeploy.

-

SUCCESS

+

From cd5ea1c014a10e2299fe0b07045b042379aa7265 Mon Sep 17 00:00:00 2001 From: vishal2-jpg <3bhagathvishal@gmail.com> Date: Mon, 19 Jan 2026 22:17:06 +0530 Subject: [PATCH 04/10] Update success message in index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 5e0d9549a..3c6bf560e 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@

Congratulations!

You have successfully created a pipeline that retrieved this source application from an Amazon S3 bucket and deployed it to three Amazon EC2 instances using AWS CodeDeploy.

-

+

DONE IT SUCCESSFULLY

From f505aecf0851b3b030508a9d0259db1b362cc7a0 Mon Sep 17 00:00:00 2001 From: vishal2-jpg <3bhagathvishal@gmail.com> Date: Sat, 24 Jan 2026 11:31:07 +0530 Subject: [PATCH 05/10] Create Jenkins pipeline for build, test, and deploy Added a Jenkins pipeline configuration for CI/CD. --- Jenkins.file | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Jenkins.file diff --git a/Jenkins.file b/Jenkins.file new file mode 100644 index 000000000..f370313a7 --- /dev/null +++ b/Jenkins.file @@ -0,0 +1,31 @@ +pipeline { + agent any + stages { + stage('Checkout') { + steps { + git branch: 'main', + url: 'https://github.com/vishal2-jpg/aws-codepipeline-s3-codedeploy-linux +.git' + } + } + stage('Build') { + steps { + echo 'Building application...' + sh 'npm install' // or mvn clean package for Java + } + } + stage('Test') { + steps { + echo 'Running tests...' + sh 'npm test' // or mvn test + } + } + stage('Deploy') { + steps { + echo 'Deploying application...' + // Example: SCP to remote server + sh 'scp -r . ubuntu@:/var/www/app' + } + } + } +} From b8f47de97c6adf890150ab584cb166f657931405 Mon Sep 17 00:00:00 2001 From: vishal2-jpg <3bhagathvishal@gmail.com> Date: Sat, 24 Jan 2026 11:35:29 +0530 Subject: [PATCH 06/10] Update deployment server IP address in Jenkins file --- Jenkins.file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins.file b/Jenkins.file index f370313a7..c7e110969 100644 --- a/Jenkins.file +++ b/Jenkins.file @@ -24,7 +24,7 @@ pipeline { steps { echo 'Deploying application...' // Example: SCP to remote server - sh 'scp -r . ubuntu@:/var/www/app' + sh 'scp -r . ubuntu@3.235.16.175:/var/www/app' } } } From 42d72752a3a955d41e1bbba76ae2e40bf4885689 Mon Sep 17 00:00:00 2001 From: vishal2-jpg <3bhagathvishal@gmail.com> Date: Sat, 24 Jan 2026 14:52:36 +0530 Subject: [PATCH 07/10] Update SCP target IP address in Jenkins file --- Jenkins.file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins.file b/Jenkins.file index c7e110969..9505de17d 100644 --- a/Jenkins.file +++ b/Jenkins.file @@ -24,7 +24,7 @@ pipeline { steps { echo 'Deploying application...' // Example: SCP to remote server - sh 'scp -r . ubuntu@3.235.16.175:/var/www/app' + sh 'scp -r . ubuntu@44.201.25.97:/var/www/app' } } } From 8bc07df94efd38b880f5638e3b8df412f5936667 Mon Sep 17 00:00:00 2001 From: vishal2-jpg <3bhagathvishal@gmail.com> Date: Sat, 24 Jan 2026 10:16:48 +0000 Subject: [PATCH 08/10] Add Jenkins CI/CD pipeline --- Jenkinsfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..c36e74324 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,17 @@ +pipeline { + agent any + + stages { + stage('Checkout') { + steps { + checkout scm + } + } + + stage('Build') { + steps { + sh 'echo "Hello from Jenkins"' + } + } + } +} From 5852b58e5c2da894a71a5eb60f6559b486b17c36 Mon Sep 17 00:00:00 2001 From: vishal2-jpg <3bhagathvishal@gmail.com> Date: Tue, 27 Jan 2026 06:52:40 +0000 Subject: [PATCH 09/10] Jenkins update --- Jenkins.file | 31 ------------------------------- Jenkinsfile | 17 ----------------- 2 files changed, 48 deletions(-) delete mode 100644 Jenkins.file delete mode 100644 Jenkinsfile diff --git a/Jenkins.file b/Jenkins.file deleted file mode 100644 index 9505de17d..000000000 --- a/Jenkins.file +++ /dev/null @@ -1,31 +0,0 @@ -pipeline { - agent any - stages { - stage('Checkout') { - steps { - git branch: 'main', - url: 'https://github.com/vishal2-jpg/aws-codepipeline-s3-codedeploy-linux -.git' - } - } - stage('Build') { - steps { - echo 'Building application...' - sh 'npm install' // or mvn clean package for Java - } - } - stage('Test') { - steps { - echo 'Running tests...' - sh 'npm test' // or mvn test - } - } - stage('Deploy') { - steps { - echo 'Deploying application...' - // Example: SCP to remote server - sh 'scp -r . ubuntu@44.201.25.97:/var/www/app' - } - } - } -} diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index c36e74324..000000000 --- a/Jenkinsfile +++ /dev/null @@ -1,17 +0,0 @@ -pipeline { - agent any - - stages { - stage('Checkout') { - steps { - checkout scm - } - } - - stage('Build') { - steps { - sh 'echo "Hello from Jenkins"' - } - } - } -} From 2425bed42a5fedaa9947eca107bdfbb4935b7aad Mon Sep 17 00:00:00 2001 From: vishal2-jpg <3bhagathvishal@gmail.com> Date: Tue, 27 Jan 2026 12:37:11 +0530 Subject: [PATCH 10/10] Update success message in index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 3c6bf560e..39a915d78 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@

Congratulations!

You have successfully created a pipeline that retrieved this source application from an Amazon S3 bucket and deployed it to three Amazon EC2 instances using AWS CodeDeploy.

-

DONE IT SUCCESSFULLY

+

Hello from jenkins