From 220319381e9beda37d75c244e8e0949ff93cb717 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sat, 23 Nov 2019 21:20:12 +0530 Subject: [PATCH 001/286] first commit --- eeksha | 1 + 1 file changed, 1 insertion(+) create mode 100644 eeksha diff --git a/eeksha b/eeksha new file mode 100644 index 0000000000..81462f6015 --- /dev/null +++ b/eeksha @@ -0,0 +1 @@ +hello this is first git file From 801834588e27d158e96829b362125deb038ed439 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 23 Nov 2019 21:23:27 +0530 Subject: [PATCH 002/286] Update eeksha --- eeksha | 1 + 1 file changed, 1 insertion(+) diff --git a/eeksha b/eeksha index 81462f6015..59dbc16d60 100644 --- a/eeksha +++ b/eeksha @@ -1 +1,2 @@ hello this is first git file +this is second line modify From 54e99e683705f3857778c0591606b2e1ebd51260 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 23 Nov 2019 21:24:38 +0530 Subject: [PATCH 003/286] Update eeksha --- eeksha | 1 + 1 file changed, 1 insertion(+) diff --git a/eeksha b/eeksha index 59dbc16d60..18070c8819 100644 --- a/eeksha +++ b/eeksha @@ -1,2 +1,3 @@ hello this is first git file this is second line modify +this is third line modify From 679854b77a5773ea414b90627bf87b5bdc00064c Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 23 Nov 2019 21:25:49 +0530 Subject: [PATCH 004/286] Update eeksha --- eeksha | 1 + 1 file changed, 1 insertion(+) diff --git a/eeksha b/eeksha index 18070c8819..3fbc44cc70 100644 --- a/eeksha +++ b/eeksha @@ -1,3 +1,4 @@ hello this is first git file this is second line modify this is third line modify +this is forth line modify From 2459784ac882590ffd294f906c3caf70a118383c Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 23 Nov 2019 21:26:40 +0530 Subject: [PATCH 005/286] Update eeksha --- eeksha | 1 + 1 file changed, 1 insertion(+) diff --git a/eeksha b/eeksha index 3fbc44cc70..6de316514e 100644 --- a/eeksha +++ b/eeksha @@ -2,3 +2,4 @@ hello this is first git file this is second line modify this is third line modify this is forth line modify +this is fifth line modify From 08fd6c7d9bb4cdd570918a81f7fad2d12268d0d0 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sat, 23 Nov 2019 21:31:59 +0530 Subject: [PATCH 006/286] bannu --- bannu | 1 + 1 file changed, 1 insertion(+) create mode 100644 bannu diff --git a/bannu b/bannu new file mode 100644 index 0000000000..557281f705 --- /dev/null +++ b/bannu @@ -0,0 +1 @@ +i am new to devops From be7b2026c6a4bc3158b6e246be0ae988fb04c88c Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sat, 23 Nov 2019 21:39:52 +0530 Subject: [PATCH 007/286] bannu6 --- bannu | 1 + 1 file changed, 1 insertion(+) diff --git a/bannu b/bannu index 557281f705..667cc875a9 100644 --- a/bannu +++ b/bannu @@ -1 +1,2 @@ i am new to devops +AWS From 1c0efdca0fe2064deb3516eda26a2695f4876d15 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sat, 23 Nov 2019 21:40:37 +0530 Subject: [PATCH 008/286] Revert "bannu6" This reverts commit be7b2026c6a4bc3158b6e246be0ae988fb04c88c. --- bannu | 1 - 1 file changed, 1 deletion(-) diff --git a/bannu b/bannu index 667cc875a9..557281f705 100644 --- a/bannu +++ b/bannu @@ -1,2 +1 @@ i am new to devops -AWS From 7b25193b73ecf33d442205ff9d40197e22f2ad42 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sat, 23 Nov 2019 21:49:55 +0530 Subject: [PATCH 009/286] bumra --- bumra | 1 + 1 file changed, 1 insertion(+) create mode 100644 bumra diff --git a/bumra b/bumra new file mode 100644 index 0000000000..31c29d5e8c --- /dev/null +++ b/bumra @@ -0,0 +1 @@ +he is a bowler From 019144e78d35b32d9c00c4962dc0a92243a9caff Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sat, 23 Nov 2019 21:57:36 +0530 Subject: [PATCH 010/286] patan --- patan | 1 + 1 file changed, 1 insertion(+) create mode 100644 patan diff --git a/patan b/patan new file mode 100644 index 0000000000..3f4c1bcf10 --- /dev/null +++ b/patan @@ -0,0 +1 @@ +he is a test player From 3d057a652976df38d083fe92c587d94418c2a973 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sat, 23 Nov 2019 21:58:50 +0530 Subject: [PATCH 011/286] yousuf --- yousuf | 1 + 1 file changed, 1 insertion(+) create mode 100644 yousuf diff --git a/yousuf b/yousuf new file mode 100644 index 0000000000..19e83fb7e4 --- /dev/null +++ b/yousuf @@ -0,0 +1 @@ +he is batsman From 8f5d3c5684df573b1c7c35d27d94331c09406d71 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sat, 23 Nov 2019 22:01:14 +0530 Subject: [PATCH 012/286] 90 --- 90 | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 90 diff --git a/90 b/90 new file mode 100644 index 0000000000..e69de29bb2 From a5986c8affaffe609181ce4786a2cc9e13df8e6c Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 23 Nov 2019 22:04:05 +0530 Subject: [PATCH 013/286] Create prasad9 --- prasad9 | 1 + 1 file changed, 1 insertion(+) create mode 100644 prasad9 diff --git a/prasad9 b/prasad9 new file mode 100644 index 0000000000..c0252b6216 --- /dev/null +++ b/prasad9 @@ -0,0 +1 @@ +mnef;ijhecipc;kbv;ci From 8553cdfee85e5947eb667d6190759f02135ec139 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 23 Nov 2019 22:05:34 +0530 Subject: [PATCH 014/286] Create sahoo7 --- sahoo7 | 1 + 1 file changed, 1 insertion(+) create mode 100644 sahoo7 diff --git a/sahoo7 b/sahoo7 new file mode 100644 index 0000000000..da8595a9fa --- /dev/null +++ b/sahoo7 @@ -0,0 +1 @@ +mfipupicn;kbivcg;cn;kw;f' From 77f6befccf04e327e456a3213c0f50ad5abd0e6a Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 23 Nov 2019 22:08:47 +0530 Subject: [PATCH 015/286] Create ruler --- ruler | 1 + 1 file changed, 1 insertion(+) create mode 100644 ruler diff --git a/ruler b/ruler new file mode 100644 index 0000000000..f346bdc992 --- /dev/null +++ b/ruler @@ -0,0 +1 @@ +balayya From becae624fc743bcf79512aa061e9eb76ab26c91e Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sat, 23 Nov 2019 22:13:52 +0530 Subject: [PATCH 016/286] tag1 --- joy | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 joy diff --git a/joy b/joy new file mode 100644 index 0000000000..e69de29bb2 From da1d4719be25a1ba9a728e24d47cae9d7feb4cfe Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sat, 23 Nov 2019 22:18:36 +0530 Subject: [PATCH 017/286] cherry4 --- cherry | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 cherry diff --git a/cherry b/cherry new file mode 100644 index 0000000000..e69de29bb2 From 9a841d07846a6b458bd6026f24a0d88f5e7a94ae Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 26 Nov 2019 01:15:12 +0530 Subject: [PATCH 018/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index dd9ef3a43c..8fb7340a4f 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

JavaHome App Version-26

+

JavaHome App Version-27

From a29275fc26d6adfecee95a29726ffb1d8ac03a6b Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 26 Nov 2019 01:20:40 +0530 Subject: [PATCH 019/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 8fb7340a4f..4e8fbc61b9 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

JavaHome App Version-27

+

JavaHome App Version-28

From 8fbf31a8106159471eeb12a9cfcb72e2c31963b6 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 26 Nov 2019 13:50:02 +0530 Subject: [PATCH 020/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 4e8fbc61b9..96fb843177 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

JavaHome App Version-28

+

JavaHome App Version-30

From 9ee12f91a9e9555e50102dbd266308ce48f09b58 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 26 Nov 2019 14:59:19 +0530 Subject: [PATCH 021/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 96fb843177..a1e53ce384 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

JavaHome App Version-30

+

JavaHome App Version-31

From f41d01f52ff001c605655c8eebbb2a0ce722c9e4 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 26 Nov 2019 15:05:28 +0530 Subject: [PATCH 022/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index a1e53ce384..2c491fa133 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

JavaHome App Version-31

+

JavaHome App Version-32

From bcd3282ae2042d5003980cef5fcd7370bfcd96c1 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 26 Nov 2019 16:00:25 +0530 Subject: [PATCH 023/286] Update Jenkins-decnew --- Jenkins-decnew | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkins-decnew b/Jenkins-decnew index 831e9b1468..e30ad28845 100644 --- a/Jenkins-decnew +++ b/Jenkins-decnew @@ -7,7 +7,7 @@ pipeline{ stages{ stage("Git Checkout"){ steps{ - git credentialsId: 'javahome2', url: 'https://github.com/srinivas1987devops/myweb.git' + git credentialsId: 'javahome2', url: 'https://github.com/lakshmiprasad2019/myweb.git' } } stage("Maven Build"){ @@ -20,11 +20,11 @@ pipeline{ steps{ sshagent(['tomcat-new']) { sh """ - scp -o StrictHostKeyChecking=no target/myweb.war ec2-user@172.31.11.44:/home/ec2-user/apache-tomcat-9.0.27/webapps/ + scp -o StrictHostKeyChecking=no target/myweb.war ec2-user@172.31.41.7:/home/ec2-user/apache-tomcat-9.0.29/webapps/ - ssh ec2-user@172.31.11.44 /home/ec2-user/apache-tomcat-9.0.27/bin/shutdown.sh + ssh ec2-user@172.31.41.7 /home/ec2-user/apache-tomcat-9.0.29/bin/shutdown.sh - ssh ec2-user@172.31.11.44 /home/ec2-user/apache-tomcat-9.0.27/bin/startup.sh + ssh ec2-user@172.31.41.7 /home/ec2-user/apache-tomcat-9.0.29/bin/startup.sh """ } From f1b64e0ccdde96ddf5a3757d99564e80bc1b8258 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 26 Nov 2019 16:07:35 +0530 Subject: [PATCH 024/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 2c491fa133..3691559e32 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

JavaHome App Version-32

+

JavaHome App Version-33

From b738372c611b7fe2df8ae15a2afda7d0377a35f8 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 26 Nov 2019 18:22:20 +0530 Subject: [PATCH 025/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f4d6dd3938..efc443049e 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ kammana - http://172.31.13.197:9000/ + http://172.31.46.239:9000/ From 2cce9a1ab7aea2b1b87cbce7cbdf6335d3eb3e4d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 26 Nov 2019 19:52:52 +0530 Subject: [PATCH 026/286] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index efc443049e..d6afb2d5da 100644 --- a/pom.xml +++ b/pom.xml @@ -28,12 +28,12 @@ nexusRepo - http://13.127.34.227:8081/repository/sample-snapshots/ + http://13.127.88.57:8081/repository/sample-snapshots/ nexusRepo - http://13.127.34.227:8081/repository/sample-releases/ + http://13.127.88.57:8081/repository/sample-releases/ From 46a520f4c18639bbf3e99f0e7108d9ea910b3c15 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 26 Nov 2019 19:59:29 +0530 Subject: [PATCH 027/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d6afb2d5da..85f4c64264 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.0 + 8.2.0-SNAPSHOT Java Home myweb http://maven.apache.org From eba74dec83b9fbd5a02c4e51d216079358eba6ee Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 26 Nov 2019 20:01:28 +0530 Subject: [PATCH 028/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 85f4c64264..d6afb2d5da 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.0-SNAPSHOT + 8.2.0 Java Home myweb http://maven.apache.org From 07a45366d3539cc89ab360afc66a344d1136628f Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 26 Nov 2019 20:04:44 +0530 Subject: [PATCH 029/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d6afb2d5da..36d30c46e4 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.0 + 8.2.1 Java Home myweb http://maven.apache.org From 9103cd9d838ff5c6b3c28510a252d5799e1ed6af Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 26 Nov 2019 20:06:20 +0530 Subject: [PATCH 030/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 36d30c46e4..74d9f6ccf4 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.1 + 8.2.1-SNAPSHOT Java Home myweb http://maven.apache.org From 8b2ff635dd6d0700cbeb2512e291cf39ec700b17 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 26 Nov 2019 21:48:48 +0530 Subject: [PATCH 031/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 74d9f6ccf4..d6afb2d5da 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.1-SNAPSHOT + 8.2.0 Java Home myweb http://maven.apache.org From 9a5553f89e3f45f25916559371f5172b7f5eaad5 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sun, 1 Dec 2019 13:37:29 +0530 Subject: [PATCH 032/286] local --- abc | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 abc diff --git a/abc b/abc new file mode 100644 index 0000000000..e69de29bb2 From d11f1f30c1fdc40539151b5efca18956c20a00e1 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sun, 1 Dec 2019 13:39:46 +0530 Subject: [PATCH 033/286] file update --- abc | 1 + 1 file changed, 1 insertion(+) diff --git a/abc b/abc index e69de29bb2..fc503790db 100644 --- a/abc +++ b/abc @@ -0,0 +1 @@ +this is addition of file From 1c8014215aa819cc3562725319cfac3663fdd75f Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 1 Dec 2019 13:41:52 +0530 Subject: [PATCH 034/286] Update abc --- abc | 1 + 1 file changed, 1 insertion(+) diff --git a/abc b/abc index fc503790db..29d3a520df 100644 --- a/abc +++ b/abc @@ -1 +1,2 @@ this is addition of file +GUI modification From 71823690f9d83174c0367690777d6df66b06c853 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sun, 1 Dec 2019 13:48:46 +0530 Subject: [PATCH 035/286] lr --- abc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/abc b/abc index 29d3a520df..0fe3ebe637 100644 --- a/abc +++ b/abc @@ -1,2 +1 @@ -this is addition of file -GUI modification +hello this is file modify From a69094d804f73c7405420ff359483a07126e5a47 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sun, 1 Dec 2019 13:54:19 +0530 Subject: [PATCH 036/286] lr --- abc | 1 + 1 file changed, 1 insertion(+) diff --git a/abc b/abc index 0fe3ebe637..932cdca87a 100644 --- a/abc +++ b/abc @@ -1 +1,2 @@ hello this is file modify +this is modified file From 4c21618fca7882d6321b5d084c82cb4080abd32b Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sun, 1 Dec 2019 14:20:27 +0530 Subject: [PATCH 037/286] file --- laks | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 laks diff --git a/laks b/laks new file mode 100644 index 0000000000..1d9083ed5c --- /dev/null +++ b/laks @@ -0,0 +1,2 @@ +this is branch example +this file again modififed From f65ff3c9dda0201402caf021783b43450d78b5f4 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sun, 1 Dec 2019 14:23:38 +0530 Subject: [PATCH 038/286] both files --- abc | 1 + laks | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/abc b/abc index 932cdca87a..85a76f5426 100644 --- a/abc +++ b/abc @@ -1,2 +1,3 @@ hello this is file modify this is modified file +this is 3rd modificaiton diff --git a/laks b/laks index 1d9083ed5c..a5febe3925 100644 --- a/laks +++ b/laks @@ -1,2 +1 @@ -this is branch example -this file again modififed +hello this file From 4bf3927cb3fe5f6661e5dd74f151924ac13c7910 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sun, 1 Dec 2019 14:29:20 +0530 Subject: [PATCH 039/286] file commit --- sap | 1 + 1 file changed, 1 insertion(+) create mode 100644 sap diff --git a/sap b/sap new file mode 100644 index 0000000000..1314edf472 --- /dev/null +++ b/sap @@ -0,0 +1 @@ +this is sap file From 5153151b981cc0646e5d22b00675c57bf63d6942 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sun, 1 Dec 2019 14:30:03 +0530 Subject: [PATCH 040/286] this file modified --- laks | 1 + 1 file changed, 1 insertion(+) diff --git a/laks b/laks index a5febe3925..d20a0a7fed 100644 --- a/laks +++ b/laks @@ -1 +1,2 @@ hello this file +hello again modified From 27279adcda22c7928a370906756b6a9a4e50b335 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sun, 1 Dec 2019 15:41:07 +0530 Subject: [PATCH 041/286] stash --- som | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 som diff --git a/som b/som new file mode 100644 index 0000000000..b2c57ec8c2 --- /dev/null +++ b/som @@ -0,0 +1,5 @@ +<<<<<<< Updated upstream +this is called +======= +something for stash +>>>>>>> Stashed changes From f2cefbd5f6b601eba8214d0bdfbc18bf154338e6 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 15 Aug 2021 17:55:11 +0530 Subject: [PATCH 042/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d6afb2d5da..fdeaf2cbb1 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ kammana - http://172.31.46.239:9000/ + http://54.214.81.234:9000/ From 578b209286008285a07132c2a652e9325e6334ce Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 15 Aug 2021 18:14:04 +0530 Subject: [PATCH 043/286] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index fdeaf2cbb1..7c98f0e380 100644 --- a/pom.xml +++ b/pom.xml @@ -28,12 +28,12 @@ nexusRepo - http://13.127.88.57:8081/repository/sample-snapshots/ + http://34.212.233.122:8081/repository/sample-snapshots/ nexusRepo - http://13.127.88.57:8081/repository/sample-releases/ + http://34.212.233.122:8081/repository/sample-releases/ From 2dcf7cb14394e011be5641819893d38111fcb986 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 15 Aug 2021 19:12:21 +0530 Subject: [PATCH 044/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7c98f0e380..febe0e701d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.0 + 8.2.1 Java Home myweb http://maven.apache.org From 75dd5d95a1c7933ffc04fe4c7d36f12792af2981 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 15 Aug 2021 19:25:58 +0530 Subject: [PATCH 045/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index febe0e701d..28262489c6 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.1 + 8.2.2 Java Home myweb http://maven.apache.org From 660ab3e9492987748ac54c92d20afd36e5522cc7 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 15 Aug 2021 19:26:23 +0530 Subject: [PATCH 046/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 3691559e32..3cf0fe71ba 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

JavaHome App Version-33

+

JavaHome App Version-50

From 463902a996d116e28bb3a6bfbfb2e7f5266986db Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 15 Aug 2021 20:06:06 +0530 Subject: [PATCH 047/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 28262489c6..1e376e0d15 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.2 + 8.2.3 Java Home myweb http://maven.apache.org From 83aeee65436fa2fc5ab802e1aea072552abb2956 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 15 Aug 2021 20:07:35 +0530 Subject: [PATCH 048/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1e376e0d15..ea593e8850 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.3 + 8.2.4 Java Home myweb http://maven.apache.org From 6817012ecc1293d6e543e3f64012df12a327ce7e Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 15 Aug 2021 20:08:35 +0530 Subject: [PATCH 049/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 3cf0fe71ba..ca4bd442c1 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

JavaHome App Version-50

+

JavaHome App Version-60

From 329ee433bd76b8e9beb24b96afffd92fd903c703 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 15 Aug 2021 20:11:55 +0530 Subject: [PATCH 050/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index ca4bd442c1..1fc46f6066 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

JavaHome App Version-60

+

JavaHome App Version-70

From c6a44474bb7836f4d19bb42607f504e5682c5321 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Mon, 16 Aug 2021 17:11:34 +0530 Subject: [PATCH 051/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ea593e8850..b114f1aeb1 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.4 + 8.2.5 Java Home myweb http://maven.apache.org From 2452f644b62f5dbbcb49ce7903a1cdfb5cb128f9 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Mon, 16 Aug 2021 17:13:21 +0530 Subject: [PATCH 052/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 1fc46f6066..c8afd9e79d 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

JavaHome App Version-70

+

JavaHome App Version-80

From 24b8563c35260728211403ba242c95e12e4f58c4 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 18 Dec 2021 17:24:12 +0530 Subject: [PATCH 053/286] Create Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 57 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Jenkins-sonar-nexus diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus new file mode 100644 index 0000000000..5821e1338b --- /dev/null +++ b/Jenkins-sonar-nexus @@ -0,0 +1,57 @@ +pipeline{ + agent any + tools { + maven 'Maven-3.6.1' + } + + environment{ + PATH = "/opt/maven3/bin:$PATH" + } + stages{ + stage("Git Checkout"){ + steps{ + git credentialsId: 'javahome2', url: 'https://github.com/srinivas1987devops/myweb.git' + } + } + stage("Maven Build"){ + steps{ + sh "mvn clean sonar:sonar package" + + } + } + stage('Upload War To Nexus'){ + steps{ + nexusArtifactUploader artifacts: [ + [ + artifactId: 'myweb', + classifier: '', + file: "target/myweb-8.2.0.war", + type: 'war' + ] + ], + credentialsId: 'nexus3', + groupId: 'in.javahome', + nexusUrl: '172.31.41.6:8081', + nexusVersion: 'nexus3', + protocol: 'http', + repository: 'sample-releases', + version: '8.2.0' + } + } + stage("deploy-dev"){ + steps{ + sshagent(['tomcat-new']) { + sh """ + scp -o StrictHostKeyChecking=no target/myweb-8.2.0.war ec2-user@172.31.45.234:/home/ec2-user/apache-tomcat-9.0.56/webapps/ + + ssh ec2-user@172.31.45.234 /home/ec2-user/apache-tomcat-9.0.56/bin/shutdown.sh + + ssh ec2-user@172.31.45.234 /home/ec2-user/apache-tomcat-9.0.56/bin/startup.sh + + """ + } + + } + } + } +} From c7e516b9d56df21fbde9d7027d724feab78f099d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 18 Dec 2021 17:33:30 +0530 Subject: [PATCH 054/286] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index b114f1aeb1..ac3ec35711 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ kammana - http://54.214.81.234:9000/ + http://192.168.1.71:9000/ @@ -28,12 +28,12 @@ nexusRepo - http://34.212.233.122:8081/repository/sample-snapshots/ + http://192.168.1.79:8081/repository/sample-snapshots/ nexusRepo - http://34.212.233.122:8081/repository/sample-releases/ + http://192.168.1.79:8081/repository/sample-releases/ From ed445b8cbc38d3740dde8d2b580912985affc61f Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 18 Dec 2021 17:41:31 +0530 Subject: [PATCH 055/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index 5821e1338b..29fdb85fe9 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -10,7 +10,7 @@ pipeline{ stages{ stage("Git Checkout"){ steps{ - git credentialsId: 'javahome2', url: 'https://github.com/srinivas1987devops/myweb.git' + git credentialsId: 'javahome2', url: 'https://github.com/lakshmiprasad2019/myweb.git' } } stage("Maven Build"){ @@ -25,28 +25,28 @@ pipeline{ [ artifactId: 'myweb', classifier: '', - file: "target/myweb-8.2.0.war", + file: "target/myweb-8.2.5.war", type: 'war' ] ], credentialsId: 'nexus3', groupId: 'in.javahome', - nexusUrl: '172.31.41.6:8081', + nexusUrl: '192.168.1.79:8081', nexusVersion: 'nexus3', protocol: 'http', repository: 'sample-releases', - version: '8.2.0' + version: '8.2.5' } } stage("deploy-dev"){ steps{ sshagent(['tomcat-new']) { sh """ - scp -o StrictHostKeyChecking=no target/myweb-8.2.0.war ec2-user@172.31.45.234:/home/ec2-user/apache-tomcat-9.0.56/webapps/ + scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war root@192.168.1.80:/root/apache-tomcat-9.0.56/webapps/ - ssh ec2-user@172.31.45.234 /home/ec2-user/apache-tomcat-9.0.56/bin/shutdown.sh + ssh root@192.168.1.80 /root/apache-tomcat-9.0.56/bin/shutdown.sh - ssh ec2-user@172.31.45.234 /home/ec2-user/apache-tomcat-9.0.56/bin/startup.sh + ssh root@192.168.1.80 /root/apache-tomcat-9.0.56/bin/startup.sh """ } From c99546b3656af3b15dd9da3e88c291f801f68819 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 18 Dec 2021 17:47:56 +0530 Subject: [PATCH 056/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index 29fdb85fe9..2862d6b460 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -15,7 +15,7 @@ pipeline{ } stage("Maven Build"){ steps{ - sh "mvn clean sonar:sonar package" + sh "mvn clean package" } } From 57c0edacb980bb161ef2966ef7998b0da4443e37 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 18 Dec 2021 18:39:14 +0530 Subject: [PATCH 057/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index 2862d6b460..081a1617b9 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -42,11 +42,11 @@ pipeline{ steps{ sshagent(['tomcat-new']) { sh """ - scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war root@192.168.1.80:/root/apache-tomcat-9.0.56/webapps/ + scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war root@192.168.1.80:/var/tmp/apache-tomcat-9.0.56/webapps/ - ssh root@192.168.1.80 /root/apache-tomcat-9.0.56/bin/shutdown.sh + ssh root@192.168.1.80 /var/tmp/apache-tomcat-9.0.56/bin/shutdown.sh - ssh root@192.168.1.80 /root/apache-tomcat-9.0.56/bin/startup.sh + ssh root@192.168.1.80 /var/tmp/apache-tomcat-9.0.56/bin/startup.sh """ } From 7c2de88417981844e403acca35cef65b579d4acb Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 18 Dec 2021 19:14:29 +0530 Subject: [PATCH 058/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index 081a1617b9..589a77d35b 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -42,11 +42,11 @@ pipeline{ steps{ sshagent(['tomcat-new']) { sh """ - scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war root@192.168.1.80:/var/tmp/apache-tomcat-9.0.56/webapps/ + scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war jenkins@192.168.1.80:/var/tmp/apache-tomcat-9.0.56/webapps/ - ssh root@192.168.1.80 /var/tmp/apache-tomcat-9.0.56/bin/shutdown.sh + ssh jenkins@192.168.1.80 /var/tmp/apache-tomcat-9.0.56/bin/shutdown.sh - ssh root@192.168.1.80 /var/tmp/apache-tomcat-9.0.56/bin/startup.sh + ssh jenkins@192.168.1.80 /var/tmp/apache-tomcat-9.0.56/bin/startup.sh """ } From 7dbcd3dc1316da9942df9e03dc64964a6a8ac939 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 18 Dec 2021 19:35:10 +0530 Subject: [PATCH 059/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index 589a77d35b..1926976dba 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -42,11 +42,11 @@ pipeline{ steps{ sshagent(['tomcat-new']) { sh """ - scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war jenkins@192.168.1.80:/var/tmp/apache-tomcat-9.0.56/webapps/ + scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war jenkins@192.168.1.80:/tomcatsoft/apache-tomcat-9.0.56/webapps - ssh jenkins@192.168.1.80 /var/tmp/apache-tomcat-9.0.56/bin/shutdown.sh + ssh jenkins@192.168.1.80 /tomcatsoft/apache-tomcat-9.0.56/bin/shutdown.sh - ssh jenkins@192.168.1.80 /var/tmp/apache-tomcat-9.0.56/bin/startup.sh + ssh jenkins@192.168.1.80 /tomcatsoft/apache-tomcat-9.0.56/bin/startup.sh """ } From 9f97360541420e8098c1afca4b98b0d25ebed524 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 18 Dec 2021 19:39:00 +0530 Subject: [PATCH 060/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index 1926976dba..e172884c9a 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -15,7 +15,7 @@ pipeline{ } stage("Maven Build"){ steps{ - sh "mvn clean package" + sh "mvn clean sonar:sonar package" } } From af7be0e063fba4945143e73233aebf26c525b5e2 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 18 Dec 2021 20:39:10 +0530 Subject: [PATCH 061/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index c8afd9e79d..69e6687a18 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

JavaHome App Version-80

+

JavaHome App Version-10

From 881ce3cdfb35ae852336b4aec084109ec00c4952 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 19 Dec 2021 15:45:24 +0530 Subject: [PATCH 062/286] Create Jenkins-terraform --- Jenkins-terraform | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Jenkins-terraform diff --git a/Jenkins-terraform b/Jenkins-terraform new file mode 100644 index 0000000000..de00f06553 --- /dev/null +++ b/Jenkins-terraform @@ -0,0 +1,34 @@ +pipeline { + agent any + stages { + stage('Download terraform code from Gihub') { + steps { + git credentialsId: 'javahome2', url: 'https://github.com/lakshmiprasad2019/myweb.git' + } + } + stage('Terraform Ininitialization') { + steps { + sh """ + cd /var/lib/jenkins/workspace/aaa + terraform init -reconfigure + """ + } + } + stage('Terraform Plan') { + steps { + sh """ + cd /var/lib/jenkins/workspace/aaa + terraform plan -out=plan.${BUILD_NUMBER} + """ + } + } + stage('Terraform Apply') { + steps { + sh """ + cd /var/lib/jenkins/workspace/aaa + terraform apply plan.${BUILD_NUMBER} + """ + } + } + } +} From 31a2ccc5c27661e80d147538eb8eed8a95f4d935 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 19 Dec 2021 15:46:03 +0530 Subject: [PATCH 063/286] Create main.tf --- main.tf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 main.tf diff --git a/main.tf b/main.tf new file mode 100644 index 0000000000..5315d8a5b0 --- /dev/null +++ b/main.tf @@ -0,0 +1,14 @@ +provider "aws" { + region = "ap-south-1" + access_key = "AKIAWARYSVAQQCORH2FA" + secret_key = "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" +} +resource "aws_instance" "myec2" { + instance_type = "t2.micro" + ami = "ami-052cef05d01020f1d" + + tags = { + Name = "import" + } + +} From 576719d4533e831eecbdf3658231f7917b1e4ae0 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 21:08:07 +0530 Subject: [PATCH 064/286] Update main.tf --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 5315d8a5b0..2921d047c8 100644 --- a/main.tf +++ b/main.tf @@ -1,7 +1,7 @@ provider "aws" { region = "ap-south-1" - access_key = "AKIAWARYSVAQQCORH2FA" - secret_key = "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" + access_key = "AKIAWARYSVAQRH6WWEP5" + secret_key = "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" } resource "aws_instance" "myec2" { instance_type = "t2.micro" From 789fc1dff4fe03f9170cbc86e1b0491bbd8caf1f Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 21:10:09 +0530 Subject: [PATCH 065/286] Update Jenkins-terraform --- Jenkins-terraform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index de00f06553..aa1b6b5edd 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -10,7 +10,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform init -reconfigure + terraform init """ } } From 32559ee1e3962830a21287c38d03da0263627651 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 21:13:51 +0530 Subject: [PATCH 066/286] Update Jenkins-terraform --- Jenkins-terraform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index aa1b6b5edd..ce389b9612 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -26,7 +26,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform apply plan.${BUILD_NUMBER} + terraform apply plan.${BUILD_NUMBER} -auto-approve """ } } From 214787f8e21c410c792b72287f82c0f2d9cdf8be Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 21:46:03 +0530 Subject: [PATCH 067/286] Update Jenkins-terraform --- Jenkins-terraform | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index ce389b9612..a737466b6e 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -18,7 +18,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform plan -out=plan.${BUILD_NUMBER} + terraform plan -out=plan.${BUILD_NUMBER} -input=falseplan """ } } @@ -26,7 +26,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform apply plan.${BUILD_NUMBER} -auto-approve + terraform apply plan.${BUILD_NUMBER} -input=falseplan --auto-approve """ } } From a3e198d57e3bc7803412cfb16fe95f2c3a035441 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 21:47:45 +0530 Subject: [PATCH 068/286] Update Jenkins-terraform --- Jenkins-terraform | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index a737466b6e..b703942708 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -18,7 +18,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform plan -out=plan.${BUILD_NUMBER} -input=falseplan + terraform plan -out=plan.${BUILD_NUMBER} -input=false """ } } @@ -26,7 +26,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform apply plan.${BUILD_NUMBER} -input=falseplan --auto-approve + terraform apply plan.${BUILD_NUMBER} -input=false --auto-approve """ } } From c855e18c3e3cfd1a9715bbffc474c17fdfb5dbde Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 21:49:44 +0530 Subject: [PATCH 069/286] Update Jenkins-terraform --- Jenkins-terraform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index b703942708..6e6246fce1 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -26,7 +26,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform apply plan.${BUILD_NUMBER} -input=false --auto-approve + terraform apply plan.${BUILD_NUMBER} -input=false -auto-approve """ } } From b9b69c2d64a2d83c861753a04805b70aebfe84fd Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 22:10:29 +0530 Subject: [PATCH 070/286] Update main.tf --- main.tf | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.tf b/main.tf index 2921d047c8..a3acd48d25 100644 --- a/main.tf +++ b/main.tf @@ -1,7 +1,5 @@ provider "aws" { region = "ap-south-1" - access_key = "AKIAWARYSVAQRH6WWEP5" - secret_key = "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" } resource "aws_instance" "myec2" { instance_type = "t2.micro" From 49f8cafe45b166bd5a8f9001e818a75c43383fca Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 22:13:08 +0530 Subject: [PATCH 071/286] Update main.tf --- main.tf | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index a3acd48d25..5dbf555f7f 100644 --- a/main.tf +++ b/main.tf @@ -1,5 +1,15 @@ +terraform { + required_providers { + aws = { + source = "hashicorp/aws" + version = "~> 3.0" + } + } +} + +# Configure the AWS Provider provider "aws" { - region = "ap-south-1" + region = "us-east-1" } resource "aws_instance" "myec2" { instance_type = "t2.micro" From d2ad447bb0d1844862b4137e97d21ef375b5725a Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 22:14:22 +0530 Subject: [PATCH 072/286] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 5dbf555f7f..9a05f4ed00 100644 --- a/main.tf +++ b/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "~> 3.0" + } } } From 9f70c87b372677e56fabbb82114f5112fbf58032 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 22:29:52 +0530 Subject: [PATCH 073/286] Create variables.tf --- variables.tf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 variables.tf diff --git a/variables.tf b/variables.tf new file mode 100644 index 0000000000..3243861121 --- /dev/null +++ b/variables.tf @@ -0,0 +1,3 @@ +variable "profile" { + description = "/var/lib/jenkins/.aws/credentials" +} From 7621b15598ecc9dcf82f1e7ea74da9e6bd202de5 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 22:31:18 +0530 Subject: [PATCH 074/286] Update main.tf --- main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/main.tf b/main.tf index 9a05f4ed00..0278926984 100644 --- a/main.tf +++ b/main.tf @@ -10,6 +10,7 @@ terraform { # Configure the AWS Provider provider "aws" { region = "us-east-1" + profile = "${var.profile}" } resource "aws_instance" "myec2" { instance_type = "t2.micro" From 4286e28fa7338f8b16d93fbd4c238b8b8303bfd8 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 22:33:28 +0530 Subject: [PATCH 075/286] Update Jenkins-terraform --- Jenkins-terraform | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index 6e6246fce1..aa1b6b5edd 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -18,7 +18,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform plan -out=plan.${BUILD_NUMBER} -input=false + terraform plan -out=plan.${BUILD_NUMBER} """ } } @@ -26,7 +26,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform apply plan.${BUILD_NUMBER} -input=false -auto-approve + terraform apply plan.${BUILD_NUMBER} """ } } From 45b987cd2be6410f38b11e304cc7b90dd56a028d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 22:38:41 +0530 Subject: [PATCH 076/286] Update Jenkins-terraform --- Jenkins-terraform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index aa1b6b5edd..de00f06553 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -10,7 +10,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform init + terraform init -reconfigure """ } } From f3070c543e00a0f6e1c46bc767f29e16153b72ae Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 22:46:54 +0530 Subject: [PATCH 077/286] Update Jenkins-terraform --- Jenkins-terraform | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index de00f06553..18550da11e 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -18,7 +18,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform plan -out=plan.${BUILD_NUMBER} + terraform plan -out=plan.${BUILD_NUMBER} -var-file=variables.tf """ } } @@ -26,7 +26,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform apply plan.${BUILD_NUMBER} + terraform apply plan.${BUILD_NUMBER} -var-file=variables.tf """ } } From 1b38c844167527c05be10d5ca12638be33d24313 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 22:52:00 +0530 Subject: [PATCH 078/286] Rename variables.tf to var.tf --- variables.tf => var.tf | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename variables.tf => var.tf (100%) diff --git a/variables.tf b/var.tf similarity index 100% rename from variables.tf rename to var.tf From 9e295ea07368d1c847fe6b37204cb9dbb7f7b466 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 22:53:26 +0530 Subject: [PATCH 079/286] Update Jenkins-terraform --- Jenkins-terraform | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index 18550da11e..123f24dce6 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -18,7 +18,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform plan -out=plan.${BUILD_NUMBER} -var-file=variables.tf + terraform plan -out=plan.${BUILD_NUMBER} -var-file=var.tf """ } } @@ -26,7 +26,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform apply plan.${BUILD_NUMBER} -var-file=variables.tf + terraform apply plan.${BUILD_NUMBER} """ } } From 84313c49a3e7569bb3ead9721e079075521fd35d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 22:55:22 +0530 Subject: [PATCH 080/286] Rename var.tf to variables.tf --- var.tf => variables.tf | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename var.tf => variables.tf (100%) diff --git a/var.tf b/variables.tf similarity index 100% rename from var.tf rename to variables.tf From fdcbfca59216463234f6bf58fe1028c269770055 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 22:56:51 +0530 Subject: [PATCH 081/286] Update Jenkins-terraform --- Jenkins-terraform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index 123f24dce6..ea72806943 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -18,7 +18,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform plan -out=plan.${BUILD_NUMBER} -var-file=var.tf + terraform plan -out=plan.${BUILD_NUMBER} -var-file=variables.tf """ } } From cb3cc0201f8666b244dae60cba03525de060f682 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 23:00:28 +0530 Subject: [PATCH 082/286] Update variables.tf --- variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variables.tf b/variables.tf index 3243861121..4eb90f3b3f 100644 --- a/variables.tf +++ b/variables.tf @@ -1,3 +1,3 @@ variable "profile" { - description = "/var/lib/jenkins/.aws/credentials" + default = "/var/lib/jenkins/.aws/credentials" } From 25db565414b1224fd1f95f9b0138c9f33dc4f9df Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 23:01:31 +0530 Subject: [PATCH 083/286] Update variables.tf --- variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variables.tf b/variables.tf index 4eb90f3b3f..78d9896cc6 100644 --- a/variables.tf +++ b/variables.tf @@ -1,3 +1,3 @@ variable "profile" { - default = "/var/lib/jenkins/.aws/credentials" + profile = "/var/lib/jenkins/.aws/credentials" } From 090e2bad61faae2c1b94b96eab7243e1f3a546e6 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 23:12:13 +0530 Subject: [PATCH 084/286] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 0278926984..0863f741e1 100644 --- a/main.tf +++ b/main.tf @@ -10,7 +10,7 @@ terraform { # Configure the AWS Provider provider "aws" { region = "us-east-1" - profile = "${var.profile}" + shared_credentials_file = "/var/lib/jenkins/.aws/credentials" } resource "aws_instance" "myec2" { instance_type = "t2.micro" From 080354d9c574047fca83ce2a0636ab16bccfe266 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 23:12:58 +0530 Subject: [PATCH 085/286] Update Jenkins-terraform --- Jenkins-terraform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index ea72806943..de00f06553 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -18,7 +18,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform plan -out=plan.${BUILD_NUMBER} -var-file=variables.tf + terraform plan -out=plan.${BUILD_NUMBER} """ } } From 599de81f31ad083bc059a80b698d9676dbb67782 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 23:15:13 +0530 Subject: [PATCH 086/286] Rename variables.tf to __variables --- variables.tf => __variables | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename variables.tf => __variables (100%) diff --git a/variables.tf b/__variables similarity index 100% rename from variables.tf rename to __variables From 2cafa11abc7a26e2d72e00a9deb89add34f17f74 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Dec 2021 23:17:49 +0530 Subject: [PATCH 087/286] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 0863f741e1..881ba266e6 100644 --- a/main.tf +++ b/main.tf @@ -14,7 +14,7 @@ provider "aws" { } resource "aws_instance" "myec2" { instance_type = "t2.micro" - ami = "ami-052cef05d01020f1d" + ami = "ami-0ed9277fb7eb570c9" tags = { Name = "import" From 2dfa43a28fa47923d7aa9ee325085bd9947c59a1 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Wed, 22 Dec 2021 10:20:35 +0530 Subject: [PATCH 088/286] Update main.tf --- main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 881ba266e6..9fbfd71a73 100644 --- a/main.tf +++ b/main.tf @@ -10,7 +10,8 @@ terraform { # Configure the AWS Provider provider "aws" { region = "us-east-1" - shared_credentials_file = "/var/lib/jenkins/.aws/credentials" + access_key = "credentials('AWS_ACCESS_KEY_ID')" + secret_key = "credentials('AWS_SECRET_ACCESS_KEY')" } resource "aws_instance" "myec2" { instance_type = "t2.micro" From 4438d941c28f5cda0a5c68f13243222e9f5e52ec Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Thu, 23 Dec 2021 18:16:33 +0530 Subject: [PATCH 089/286] Create vars.tf --- vars.tf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 vars.tf diff --git a/vars.tf b/vars.tf new file mode 100644 index 0000000000..7adfddd6df --- /dev/null +++ b/vars.tf @@ -0,0 +1,3 @@ +variable "assume-role" { + default = "arn:aws:iam::413509265441:role/Functional" +} From 8050810a1a4c7d15890af8956cd3b2abca48aaca Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Thu, 23 Dec 2021 18:18:17 +0530 Subject: [PATCH 090/286] Update main.tf --- main.tf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 9fbfd71a73..1aa3f98025 100644 --- a/main.tf +++ b/main.tf @@ -10,8 +10,9 @@ terraform { # Configure the AWS Provider provider "aws" { region = "us-east-1" - access_key = "credentials('AWS_ACCESS_KEY_ID')" - secret_key = "credentials('AWS_SECRET_ACCESS_KEY')" + assume_role { + role_arn = var.assume-role + } } resource "aws_instance" "myec2" { instance_type = "t2.micro" From 9ffc0bc0df663aac57ea6ccb388b88595a833424 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Thu, 23 Dec 2021 19:11:47 +0530 Subject: [PATCH 091/286] Update main.tf --- main.tf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.tf b/main.tf index 1aa3f98025..887429d440 100644 --- a/main.tf +++ b/main.tf @@ -10,9 +10,7 @@ terraform { # Configure the AWS Provider provider "aws" { region = "us-east-1" - assume_role { - role_arn = var.assume-role - } + profile = "Sample" } resource "aws_instance" "myec2" { instance_type = "t2.micro" From f07877c0f96c864e35db5b05f35afcf5632b64c1 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Thu, 23 Dec 2021 19:49:45 +0530 Subject: [PATCH 092/286] Update Jenkins-terraform --- Jenkins-terraform | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Jenkins-terraform b/Jenkins-terraform index de00f06553..4404e56020 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -1,4 +1,10 @@ pipeline { + + parameters { + string(name: 'environment', defaultValue: 'Sample', description: 'Workspace/environment file to use for deployment') + booleanParam(name: 'autoApprove', defaultValue: false, description: 'Automatically run apply after generating plan?') + + } agent any stages { stage('Download terraform code from Gihub') { From 54035fc4c16dbf4bbcff9db3a6b70902de18babd Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 11:27:14 +0530 Subject: [PATCH 093/286] Update main.tf --- main.tf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.tf b/main.tf index 887429d440..822b60ad4f 100644 --- a/main.tf +++ b/main.tf @@ -9,12 +9,11 @@ terraform { # Configure the AWS Provider provider "aws" { - region = "us-east-1" - profile = "Sample" + profile = var.region } resource "aws_instance" "myec2" { instance_type = "t2.micro" - ami = "ami-0ed9277fb7eb570c9" + ami = var.ami_id tags = { Name = "import" From aee96520277e05b4f6de1099f6d3d8df2ce0a206 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 11:29:27 +0530 Subject: [PATCH 094/286] Update vars.tf --- vars.tf | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/vars.tf b/vars.tf index 7adfddd6df..4b86f46390 100644 --- a/vars.tf +++ b/vars.tf @@ -1,3 +1,11 @@ -variable "assume-role" { - default = "arn:aws:iam::413509265441:role/Functional" +variable "region" { + type = string } +variable "ami_id" { + type = map(string) + + default = { + us-east-1 = "ami-0ed9277fb7eb570c9" + us-west-1 = "ami-03af6a70ccd8cb578" + ca-central-1 = "ami-0bae7412735610274" + } From 1aedeeaca9ce74eda8afe7e0428e8dd4e7246400 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 11:31:01 +0530 Subject: [PATCH 095/286] Update Jenkins-terraform --- Jenkins-terraform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index 4404e56020..160e4c93d8 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -24,7 +24,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform plan -out=plan.${BUILD_NUMBER} + terraform plan -out=plan.${BUILD_NUMBER} -var profile=${params.profile} """ } } From 5a78fed44cfbb1d4d8232fc1f59ebbc45311ef16 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 11:32:03 +0530 Subject: [PATCH 096/286] Update vars.tf --- vars.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars.tf b/vars.tf index 4b86f46390..449354761d 100644 --- a/vars.tf +++ b/vars.tf @@ -1,4 +1,4 @@ -variable "region" { +variable "profile" { type = string } variable "ami_id" { From 792cf30337360976416d4922a22349cfcaa2fbc7 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 11:32:48 +0530 Subject: [PATCH 097/286] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 822b60ad4f..e3ce94a6f0 100644 --- a/main.tf +++ b/main.tf @@ -9,7 +9,7 @@ terraform { # Configure the AWS Provider provider "aws" { - profile = var.region + profile = var.profile } resource "aws_instance" "myec2" { instance_type = "t2.micro" From 7d094d7c89354f5e5ca65f51f264fffc3995e336 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 11:45:25 +0530 Subject: [PATCH 098/286] Update main.tf --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index e3ce94a6f0..d751c93c48 100644 --- a/main.tf +++ b/main.tf @@ -9,11 +9,11 @@ terraform { # Configure the AWS Provider provider "aws" { - profile = var.profile + profile = Prod } resource "aws_instance" "myec2" { instance_type = "t2.micro" - ami = var.ami_id + ami = "ami-0ed9277fb7eb570c9" tags = { Name = "import" From 6bb14730eb89a4a3c16367b92af19069292739a1 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 11:46:52 +0530 Subject: [PATCH 099/286] Update Jenkins-terraform --- Jenkins-terraform | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index 160e4c93d8..18469f1218 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -1,10 +1,6 @@ pipeline { - parameters { - string(name: 'environment', defaultValue: 'Sample', description: 'Workspace/environment file to use for deployment') - booleanParam(name: 'autoApprove', defaultValue: false, description: 'Automatically run apply after generating plan?') - - } + agent any stages { stage('Download terraform code from Gihub') { @@ -24,7 +20,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform plan -out=plan.${BUILD_NUMBER} -var profile=${params.profile} + terraform plan -out=plan.${BUILD_NUMBER} """ } } From 0fbcc248ebc2c166637331d458141ee0f449ee89 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 11:48:06 +0530 Subject: [PATCH 100/286] Update vars.tf --- vars.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/vars.tf b/vars.tf index 449354761d..63053c1960 100644 --- a/vars.tf +++ b/vars.tf @@ -9,3 +9,4 @@ variable "ami_id" { us-west-1 = "ami-03af6a70ccd8cb578" ca-central-1 = "ami-0bae7412735610274" } +} From 1e0bd3ea7bf9817425701f6615e2a38cd7a9c5af Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 11:53:40 +0530 Subject: [PATCH 101/286] Rename vars.tf to __vars --- vars.tf => __vars | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename vars.tf => __vars (100%) diff --git a/vars.tf b/__vars similarity index 100% rename from vars.tf rename to __vars From 694bf68d1764b6bad067f01786bcbde25d4370f7 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 12:01:08 +0530 Subject: [PATCH 102/286] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index d751c93c48..d67983107f 100644 --- a/main.tf +++ b/main.tf @@ -9,7 +9,7 @@ terraform { # Configure the AWS Provider provider "aws" { - profile = Prod + profile = "Prod" } resource "aws_instance" "myec2" { instance_type = "t2.micro" From 35111305c569e23ed46fd706f08c5a20f2fd4c27 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 12:04:00 +0530 Subject: [PATCH 103/286] Update main.tf --- main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/main.tf b/main.tf index d67983107f..256104e70c 100644 --- a/main.tf +++ b/main.tf @@ -9,6 +9,7 @@ terraform { # Configure the AWS Provider provider "aws" { + region = "us-east-1" profile = "Prod" } resource "aws_instance" "myec2" { From d0991cf52afb5c1c4f2c10f88e8034cf1519dac4 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 12:07:11 +0530 Subject: [PATCH 104/286] Update main.tf --- main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.tf b/main.tf index 256104e70c..680b263751 100644 --- a/main.tf +++ b/main.tf @@ -9,12 +9,12 @@ terraform { # Configure the AWS Provider provider "aws" { - region = "us-east-1" - profile = "Prod" + region = var.region + profile = var.profile } resource "aws_instance" "myec2" { instance_type = "t2.micro" - ami = "ami-0ed9277fb7eb570c9" + ami = var.ami_id tags = { Name = "import" From c5410a15541c355d541e567fddb7826384811fc9 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 12:09:13 +0530 Subject: [PATCH 105/286] Update and rename __vars to vars.tf --- __vars => vars.tf | 3 +++ 1 file changed, 3 insertions(+) rename __vars => vars.tf (85%) diff --git a/__vars b/vars.tf similarity index 85% rename from __vars rename to vars.tf index 63053c1960..5383654d5c 100644 --- a/__vars +++ b/vars.tf @@ -1,6 +1,9 @@ variable "profile" { type = string } +variable "region" { + type = string +} variable "ami_id" { type = map(string) From 59b1d5db417f5d11c17567571c5bcc92377a05f9 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 12:44:10 +0530 Subject: [PATCH 106/286] Update Jenkins-terraform --- Jenkins-terraform | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index 18469f1218..4489ab165e 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -1,6 +1,11 @@ pipeline { - + parameters { + string(name: 'environment', defaultValue: 'Prod', description: 'Workspace/Environment file to use for deployment') + string(name: 'region', defaultValue: 'us-east-1', description: 'Workspace/region file to use for deployment') + + + } agent any stages { stage('Download terraform code from Gihub') { @@ -20,7 +25,7 @@ pipeline { steps { sh """ cd /var/lib/jenkins/workspace/aaa - terraform plan -out=plan.${BUILD_NUMBER} + terraform plan -out=plan.${BUILD_NUMBER} -var profile=${params.environment} -var region=${params.region} """ } } From 1d9f712a992cd061d9ffe9e37d9fac35c58fe577 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 12:46:39 +0530 Subject: [PATCH 107/286] Update vars.tf --- vars.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars.tf b/vars.tf index 5383654d5c..730998a2fd 100644 --- a/vars.tf +++ b/vars.tf @@ -5,7 +5,7 @@ variable "region" { type = string } variable "ami_id" { - type = map(string) + type = map default = { us-east-1 = "ami-0ed9277fb7eb570c9" From d1d29d4e820c67d2e60c7bb9f12cd3f37d708919 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 24 Dec 2021 18:56:31 +0530 Subject: [PATCH 108/286] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 680b263751..1fdb8ba7ba 100644 --- a/main.tf +++ b/main.tf @@ -14,7 +14,7 @@ provider "aws" { } resource "aws_instance" "myec2" { instance_type = "t2.micro" - ami = var.ami_id + ami = "${lookup(var.ami_id, var.region)}" tags = { Name = "import" From 66bb3c645c486a74c64c7a8f5eb39a236d8cb4f7 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 3 Jun 2022 09:25:43 +0530 Subject: [PATCH 109/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 69e6687a18..206e7879f1 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

JavaHome App Version-10

+

Welcome to RepoTech

From f60e79252d2b48f83f105fcc25611505c3d7d73d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 3 Jun 2022 22:04:20 +0530 Subject: [PATCH 110/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 206e7879f1..f39f7e536d 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

Welcome to RepoTech

+

Welcome to RepoTech Enjoy Learning

From 4df8a6137068e0c8997843c25339eee919272b9a Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 3 Jun 2022 23:37:23 +0530 Subject: [PATCH 111/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index f39f7e536d..b48b9d03d1 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

Welcome to RepoTech Enjoy Learning

+

Welcome to RepoTech Enjoy Learning This is Complete automation

From 0ff94ccfea97ab5f0521595434c32dfbb6c9594e Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 3 Jun 2022 23:39:54 +0530 Subject: [PATCH 112/286] Create Jenkins-tomcat_byme --- Jenkins-tomcat_byme | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Jenkins-tomcat_byme diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme new file mode 100644 index 0000000000..2a616a4a60 --- /dev/null +++ b/Jenkins-tomcat_byme @@ -0,0 +1,27 @@ +pipeline { + agent any + stages { + stage ('git_clone') { + steps { + git 'https://github.com/lakshmiprasad2019/myweb.git' + } + } + stage (mvn_build) { + steps { + sh "mvn clean package" + } + } + stage("deploy-dev"){ + steps{ + sh """ + scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war jenkins@172.31.38.152:/tomcat/apache-tomcat-8.5.79/webapps + + ssh jenkins@172.31.38.152 /tomcat/apache-tomcat-8.5.79/bin/shutdown.sh + + ssh jenkins@172.31.38.152 /tomcat/apache-tomcat-8.5.79/bin/startup.sh + """ + } + } + + } +} From 07ffe7f5f7e3b702d43b6f0db72beb8876082407 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 4 Jun 2022 08:36:14 +0530 Subject: [PATCH 113/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index b48b9d03d1..fff620dd6f 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

Welcome to RepoTech Enjoy Learning This is Complete automation

+

Welcome to RepoTech Happy to Learn

From 6f500003b2ab7f55b2dceab7afa210eda1e75849 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 4 Jun 2022 08:39:02 +0530 Subject: [PATCH 114/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index fff620dd6f..404a51cf41 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

Welcome to RepoTech Happy to Learn

+

Hello all today is Saturday

From 1f6376dbbe0168229310de989f6b6c6cb9674489 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 9 Sep 2022 09:33:11 +0530 Subject: [PATCH 115/286] Update pom.xml --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index ac3ec35711..cc1e0daf09 100644 --- a/pom.xml +++ b/pom.xml @@ -11,6 +11,8 @@ kammana http://192.168.1.71:9000/ + 1.8 + :wq!1.8 From 3a126bdef9e3e165ebd871f6e4a138122ba9879b Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 9 Sep 2022 09:33:29 +0530 Subject: [PATCH 116/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index cc1e0daf09..bf16756b97 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ kammana http://192.168.1.71:9000/ 1.8 - :wq!1.8 + 1.8 From 3aca5ad6256bc1a87da57d30eaf3b0888542a541 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 9 Sep 2022 10:51:06 +0530 Subject: [PATCH 117/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 404a51cf41..ede5d85aa7 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

Hello all today is Saturday

+

Hello all today is via webhook

From f445df466bbde87558eb323f2034106ae448a2ab Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 10 Sep 2022 09:03:07 +0530 Subject: [PATCH 118/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index ede5d85aa7..3bd475088c 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

Hello all today is via webhook

+

Hello This has deployed via Freshjob1

From 26c608a6c3289cdf5a5b40dd165f0b5b066f5e8f Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 10 Sep 2022 09:04:31 +0530 Subject: [PATCH 119/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 3bd475088c..2b589706e7 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

Hello This has deployed via Freshjob1

+

Hello Today is Saturday

From 7d8fa49c45c724ae3438d4a5b2a32ca5ed3c0a01 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 10 Sep 2022 09:13:09 +0530 Subject: [PATCH 120/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 2b589706e7..761b1ac305 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

Hello Today is Saturday

+

Hello Today is Saturday and date is 10th Sep 2022

From b1bbee1a91f550d993226f493a52413560a0b498 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 10 Sep 2022 09:16:03 +0530 Subject: [PATCH 121/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 761b1ac305..70976e7f89 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

Hello Today is Saturday and date is 10th Sep 2022

+

Hello Today is Saturday and date is 10th Sep 2022 Happy Weekend

From 1cdf3ec4bb443b9c72282436c2f177750c730978 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 10 Sep 2022 09:43:38 +0530 Subject: [PATCH 122/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 70976e7f89..f6ac3bfc51 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

Hello Today is Saturday and date is 10th Sep 2022 Happy Weekend

+

Hello All Good Morning

From 9a53e042800ff47ff45bb8e119b067f52802e2c6 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 10 Sep 2022 09:48:58 +0530 Subject: [PATCH 123/286] Update Jenkins-tomcat_byme --- Jenkins-tomcat_byme | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme index 2a616a4a60..a3bfc9aaa8 100644 --- a/Jenkins-tomcat_byme +++ b/Jenkins-tomcat_byme @@ -14,11 +14,11 @@ pipeline { stage("deploy-dev"){ steps{ sh """ - scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war jenkins@172.31.38.152:/tomcat/apache-tomcat-8.5.79/webapps + scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war jenkins@172.31.10.183:/opt/apache-tomcat-8.5.82/webapps - ssh jenkins@172.31.38.152 /tomcat/apache-tomcat-8.5.79/bin/shutdown.sh + ssh jenkins@172.31.10.183 sudo /usr/local/bin/tomcatdown - ssh jenkins@172.31.38.152 /tomcat/apache-tomcat-8.5.79/bin/startup.sh + ssh jenkins@172.31.10.183 sudo /usr/local/bin/tomcatup """ } } From faf934befbacb3d3c0f976325bcb78b7f6fb2b1f Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 10 Sep 2022 09:53:43 +0530 Subject: [PATCH 124/286] Update Jenkins-tomcat_byme --- Jenkins-tomcat_byme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme index a3bfc9aaa8..f4e36b54fb 100644 --- a/Jenkins-tomcat_byme +++ b/Jenkins-tomcat_byme @@ -11,7 +11,7 @@ pipeline { sh "mvn clean package" } } - stage("deploy-dev"){ + stage("deploy-devenv"){ steps{ sh """ scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war jenkins@172.31.10.183:/opt/apache-tomcat-8.5.82/webapps From 498a1f8e0826874930fb583872873e20f478b741 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Mon, 12 Sep 2022 09:33:57 +0530 Subject: [PATCH 125/286] Update main.tf --- main.tf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/main.tf b/main.tf index 1fdb8ba7ba..cf80884034 100644 --- a/main.tf +++ b/main.tf @@ -21,3 +21,13 @@ resource "aws_instance" "myec2" { } } +data "aws_ami" "app_ami" { + owners = ["amazon"] + most_recent = true + + + filter { + name = "name" + values = ["amzn2-ami-kernel-5.10**"] + } +} From c48d8dd542c98ccfb552d1b14e852e74f2b54987 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Mon, 12 Sep 2022 09:34:53 +0530 Subject: [PATCH 126/286] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index cf80884034..8c2c4e2c22 100644 --- a/main.tf +++ b/main.tf @@ -14,7 +14,7 @@ provider "aws" { } resource "aws_instance" "myec2" { instance_type = "t2.micro" - ami = "${lookup(var.ami_id, var.region)}" + ami = data.aws_ami.app_ami.id tags = { Name = "import" From f04f3bfd7ede0084024f797b3cc984921c8808fe Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Mon, 12 Sep 2022 09:35:21 +0530 Subject: [PATCH 127/286] Update vars.tf --- vars.tf | 9 --------- 1 file changed, 9 deletions(-) diff --git a/vars.tf b/vars.tf index 730998a2fd..324edaf153 100644 --- a/vars.tf +++ b/vars.tf @@ -4,12 +4,3 @@ variable "profile" { variable "region" { type = string } -variable "ami_id" { - type = map - - default = { - us-east-1 = "ami-0ed9277fb7eb570c9" - us-west-1 = "ami-03af6a70ccd8cb578" - ca-central-1 = "ami-0bae7412735610274" - } -} From b248a598e4855f7ab32aa7cdc0f8b7bc08b073d5 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 18 Sep 2022 22:23:45 +0530 Subject: [PATCH 128/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bf16756b97..364221e854 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ kammana - http://192.168.1.71:9000/ + http://13.233.92.108:9000/ 1.8 1.8 From 0e5d7d58b9349781ec3f3e0c2ea67027f957aa4d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 18 Sep 2022 22:26:31 +0530 Subject: [PATCH 129/286] Update Jenkins-tomcat_byme --- Jenkins-tomcat_byme | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme index f4e36b54fb..ed69d0239f 100644 --- a/Jenkins-tomcat_byme +++ b/Jenkins-tomcat_byme @@ -6,6 +6,11 @@ pipeline { git 'https://github.com/lakshmiprasad2019/myweb.git' } } + stage (Sonar Scan) { + steps { + sh "mvn sonar:sonar" + } + } stage (mvn_build) { steps { sh "mvn clean package" From 54c86b0de798d1483c5d544c4c4d7811bbf8bc62 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 18 Sep 2022 22:30:22 +0530 Subject: [PATCH 130/286] Update Jenkins-tomcat_byme --- Jenkins-tomcat_byme | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme index ed69d0239f..7b56e80107 100644 --- a/Jenkins-tomcat_byme +++ b/Jenkins-tomcat_byme @@ -6,14 +6,10 @@ pipeline { git 'https://github.com/lakshmiprasad2019/myweb.git' } } - stage (Sonar Scan) { - steps { - sh "mvn sonar:sonar" - } - } + stage (mvn_build) { steps { - sh "mvn clean package" + sh "mvn clean sonar:sonar package" } } stage("deploy-devenv"){ From f2247de1541760579e8f0f107de591711e093856 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Mon, 19 Sep 2022 09:58:21 +0530 Subject: [PATCH 131/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 364221e854..63ebac5f7c 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ kammana - http://13.233.92.108:9000/ + http://13.233.111.175:9000/ 1.8 1.8 From 95c2cf829f8d2b1ead9e8e4942ea97dbf0d4468f Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Mon, 19 Sep 2022 21:45:14 +0530 Subject: [PATCH 132/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index e172884c9a..8aab32eca9 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -31,7 +31,7 @@ pipeline{ ], credentialsId: 'nexus3', groupId: 'in.javahome', - nexusUrl: '192.168.1.79:8081', + nexusUrl: '172.31.46.112:8081', nexusVersion: 'nexus3', protocol: 'http', repository: 'sample-releases', From a9315047a65d9ffd0ff6c9b475558164b4c71edf Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Mon, 19 Sep 2022 21:46:18 +0530 Subject: [PATCH 133/286] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 63ebac5f7c..c40cfb296a 100644 --- a/pom.xml +++ b/pom.xml @@ -30,12 +30,12 @@ nexusRepo - http://192.168.1.79:8081/repository/sample-snapshots/ + http://43.205.120.196:8081//repository/sample-snapshots/ nexusRepo - http://192.168.1.79:8081/repository/sample-releases/ + http://43.205.120.196:8081//repository/sample-releases/ From 1f9c390bba9d210bf9634b026f67722ea1905a6d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Mon, 19 Sep 2022 22:01:38 +0530 Subject: [PATCH 134/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c40cfb296a..c1233e2131 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.5 + 8.2.5-SNAPSHOT Java Home myweb http://maven.apache.org From 207add205aea58d1219992b46853316f26355abc Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Mon, 19 Sep 2022 22:12:00 +0530 Subject: [PATCH 135/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index 8aab32eca9..650d0a8bb3 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -25,7 +25,7 @@ pipeline{ [ artifactId: 'myweb', classifier: '', - file: "target/myweb-8.2.5.war", + file: "target/myweb-8.2.5-SNAPSHOT.war", type: 'war' ] ], From a563d54a9c432157e9d0e82cff3f298894f20231 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Mon, 19 Sep 2022 22:14:16 +0530 Subject: [PATCH 136/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index 650d0a8bb3..6e1280d5a7 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -34,7 +34,7 @@ pipeline{ nexusUrl: '172.31.46.112:8081', nexusVersion: 'nexus3', protocol: 'http', - repository: 'sample-releases', + repository: 'sample-snapshots', version: '8.2.5' } } From 81e66c830f4a3aa1939b52f472b541c12e19e89e Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Mon, 19 Sep 2022 22:18:20 +0530 Subject: [PATCH 137/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index 6e1280d5a7..0d28aef968 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -35,7 +35,7 @@ pipeline{ nexusVersion: 'nexus3', protocol: 'http', repository: 'sample-snapshots', - version: '8.2.5' + version: '8.2.5-SNAPSHOT' } } stage("deploy-dev"){ From 7bc1ef15c6cc4b9fa65c67ea4b815c9335cc44d5 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 20 Sep 2022 09:14:30 +0530 Subject: [PATCH 138/286] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index c1233e2131..bc459d7702 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.5-SNAPSHOT + 8.2.5 Java Home myweb http://maven.apache.org @@ -30,12 +30,12 @@ nexusRepo - http://43.205.120.196:8081//repository/sample-snapshots/ + http://65.2.179.101:8081/repository/sample-snapshots/ nexusRepo - http://43.205.120.196:8081//repository/sample-releases/ + http://65.2.179.101:8081/repository/sample-releases/ From b6584a6880be2a4974738b3f5553403b0e2ca80b Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 20 Sep 2022 09:30:01 +0530 Subject: [PATCH 139/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index 0d28aef968..57369dc0fd 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -25,7 +25,7 @@ pipeline{ [ artifactId: 'myweb', classifier: '', - file: "target/myweb-8.2.5-SNAPSHOT.war", + file: "target/myweb-8.2.5.war", type: 'war' ] ], From 0908e0ae3f838d7a3a47d3bbfc6fb4422665b9c4 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 20 Sep 2022 09:34:17 +0530 Subject: [PATCH 140/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index 57369dc0fd..8aab32eca9 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -34,8 +34,8 @@ pipeline{ nexusUrl: '172.31.46.112:8081', nexusVersion: 'nexus3', protocol: 'http', - repository: 'sample-snapshots', - version: '8.2.5-SNAPSHOT' + repository: 'sample-releases', + version: '8.2.5' } } stage("deploy-dev"){ From cf750785b78e7a7ed14af19d62c2552b4d06fddf Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 20 Sep 2022 09:34:58 +0530 Subject: [PATCH 141/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index 8aab32eca9..31695f75e6 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -31,7 +31,7 @@ pipeline{ ], credentialsId: 'nexus3', groupId: 'in.javahome', - nexusUrl: '172.31.46.112:8081', + nexusUrl: '172.31.38.174:8081', nexusVersion: 'nexus3', protocol: 'http', repository: 'sample-releases', From 673dcd2dfb8527a4aeb2e4d1ee72831219feeb6b Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 20 Sep 2022 09:38:06 +0530 Subject: [PATCH 142/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bc459d7702..c22a8da092 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.5 + 8.2.6 Java Home myweb http://maven.apache.org From 69e91e34373af508d49b7810387f73a15cc3772c Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 20 Sep 2022 09:38:37 +0530 Subject: [PATCH 143/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index 31695f75e6..5afda1fd71 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -25,7 +25,7 @@ pipeline{ [ artifactId: 'myweb', classifier: '', - file: "target/myweb-8.2.5.war", + file: "target/myweb-8.2.6.war", type: 'war' ] ], @@ -35,7 +35,7 @@ pipeline{ nexusVersion: 'nexus3', protocol: 'http', repository: 'sample-releases', - version: '8.2.5' + version: '8.2.6' } } stage("deploy-dev"){ From 8241fd78919eff3d4ae3a5a03ed306e0b5b97a59 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 20 Sep 2022 09:40:10 +0530 Subject: [PATCH 144/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c22a8da092..dda5187c82 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.6 + 8.2.6-SNAPSHOT Java Home myweb http://maven.apache.org From 31d69a72f5a0368f5bdbd88615bad035792c453d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 20 Sep 2022 09:41:01 +0530 Subject: [PATCH 145/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index 5afda1fd71..c03f33319a 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -25,7 +25,7 @@ pipeline{ [ artifactId: 'myweb', classifier: '', - file: "target/myweb-8.2.6.war", + file: "target/myweb-8.2.6-SNAPSHOT.war", type: 'war' ] ], @@ -34,8 +34,8 @@ pipeline{ nexusUrl: '172.31.38.174:8081', nexusVersion: 'nexus3', protocol: 'http', - repository: 'sample-releases', - version: '8.2.6' + repository: 'sample-snapshots', + version: '8.2.6-SNAPSHOT' } } stage("deploy-dev"){ From e17a5518e87490c19a6c5da8bf8bb0670516ca6c Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Wed, 18 Jan 2023 09:36:55 +0530 Subject: [PATCH 146/286] Update Jenkins-terraform --- Jenkins-terraform | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index 4489ab165e..552683c0da 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -16,7 +16,7 @@ pipeline { stage('Terraform Ininitialization') { steps { sh """ - cd /var/lib/jenkins/workspace/aaa + cd /var/lib/jenkins/workspace/terraform terraform init -reconfigure """ } @@ -24,7 +24,7 @@ pipeline { stage('Terraform Plan') { steps { sh """ - cd /var/lib/jenkins/workspace/aaa + cd /var/lib/jenkins/workspace/terraform terraform plan -out=plan.${BUILD_NUMBER} -var profile=${params.environment} -var region=${params.region} """ } @@ -32,7 +32,7 @@ pipeline { stage('Terraform Apply') { steps { sh """ - cd /var/lib/jenkins/workspace/aaa + cd /var/lib/jenkins/workspace/terraform terraform apply plan.${BUILD_NUMBER} """ } From 878dfe0280a59d872a782915566f9a5b534e95d8 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Wed, 18 Jan 2023 09:58:30 +0530 Subject: [PATCH 147/286] Update Jenkins-terraform --- Jenkins-terraform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index 552683c0da..2f228d8ebd 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -1,7 +1,7 @@ pipeline { parameters { - string(name: 'environment', defaultValue: 'Prod', description: 'Workspace/Environment file to use for deployment') + string(name: 'environment', defaultValue: 'Prd', description: 'Workspace/Environment file to use for deployment') string(name: 'region', defaultValue: 'us-east-1', description: 'Workspace/region file to use for deployment') From 93ce0e23a34b8827bc727814c7fe610599e27c41 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Wed, 18 Jan 2023 10:04:10 +0530 Subject: [PATCH 148/286] Update main.tf --- main.tf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/main.tf b/main.tf index 8c2c4e2c22..97a5ed8073 100644 --- a/main.tf +++ b/main.tf @@ -15,6 +15,7 @@ provider "aws" { resource "aws_instance" "myec2" { instance_type = "t2.micro" ami = data.aws_ami.app_ami.id + key_name = "alankey" tags = { Name = "import" @@ -31,3 +32,15 @@ data "aws_ami" "app_ami" { values = ["amzn2-ami-kernel-5.10**"] } } +provisioner "remote-exec" { + inline = [ + "sudo amazon-linux-extras install -y nginx1", + "sudo systemctl start nginx" + ] + } + connection { + type = "ssh" + user = "ec2-user" + private_key = file("alankey.pem") + host = self.public_ip + } From 2693452ccf2d7b63a8d4ff9c4986b4b409423941 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Wed, 18 Jan 2023 10:05:23 +0530 Subject: [PATCH 149/286] Create alankey.pem --- alankey.pem | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 alankey.pem diff --git a/alankey.pem b/alankey.pem new file mode 100644 index 0000000000..4e29a979e2 --- /dev/null +++ b/alankey.pem @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpQIBAAKCAQEAjjWqQwDfymepp3tmxbpvPss8TdYApDyrQ7trao1M8ZgnIFJr +aR9LMd5ViYTRr6/RwozuRS1p1287Ec6tT3eN34zIhcel23eOLBNsXJHWmeZjjzX4 +6q47R+oukO8chE9E09XXO/AGH+zSTrifAO/lCRwOV/mCK+UFr/s5LS1PDKNCh7q1 +9x9OBKwgY44NeB9QqFbhPL7aZY7j6GvH3bRsFFjPHBKaRps2wGgmIFtWfZ575FVT +BhHdH0qR47HuFDCgx0di42Wbwz5kIWrXK2e0231FRmVpbCVLkbHAhtT6Atq0KDFE +U/ab0r8HX7W26ESddTItkEQKAbzYiYXiIqjHQwIDAQABAoIBAQCBhsepd6ZeCMUx +0ufsuL6ShzJKAt1auheT/aT8y+6FLnyUp/1FJkerCEMImn0SdCWt+gcb4x1AKAO5 +WHHqq44BS41orEuY9e/8nURZnEvGqV2NFy+9MSy1d8sqH1/t8vVRrLf508kAUwfK +w8WvaNFH1tIJtyylJlhjzYJqb5ZMfw5sKe7SG3moWg0tTr50Bv49CbMy65x8ynAb +jGTAxUWX5YrtNo/ZZxx1ixq/6CgUXUWq1M1dsIe33wtakQUp+UypKgGpXO3dU0DS +kpqLHA5+yWXjBqikaQD9mtx49OnHewzuCXB5yHSRO9kcwgwXfQP+O3Lf9VS9Cb4w +YbGY4B8hAoGBAPrqnFOH4oj5bCcRynbfGWvxMP0UoAjLlvBxigVWIvdjizqsdrtu +iixlCvldChhkV8pLBp2QO5YP0CkWdFyx+6NjrtmQQ2/UK1+15lHYhSE2ICS0eRkk +7sdn7Jq8m2PPpQ6TUWS6P+CyFckhlzAwpiO71a836Gg0NJX431Ay6vGHAoGBAJEX +Pd4nfIjq2IqfaBpnHRx32Oq90VD0132NKelPuIqTNwAsSY67SQ9P0hmoJiH/PyMP +TeJyS4YrxYiDjzD2Efc4TZNG9azx5mfgEcA5yzAegsvOguHOQ9tMSTrof0Hqy7+4 +fqWWJED6iqEIvMH/VpUOBbP5LsCV3ybrbxmwH9tlAoGBAIOZ63XwLkOTNkNjlGI2 +bznrHbuPRsR2K2te0XotDFfecNbMP9Xci0HvmQri3nmen2DtasHXNTlmf9IdAdjg +TNAMZ1eaz5Pmnv0rBWrl+iVKIx+9PEqQ0V/qxPD/fSyjarmzUJxZB0nNfZmpMYfH +7EuPp+qnkxCcWPxTtKR2oD0fAoGAKD+ORgYmIcUj9LBrrIdWKAOHBPdLDW4eKRHz +wmj/BFH6O+4NKa8CgWDfI4blrSClXxBrxpl2Ie4aidgU7LwWF8JioqxYknU4OTCL +PAvMNbkBB5Bt9j3FzRvIZLMCOkLr6m8/kqenvu7BbhKCaj5uwkJ1iothUMNCeAVv +eGzHKZECgYEAorQAEOHYve7cNu3N+lB5UqXC/tTeR5IVZtqfOUHaAdaxVAlYy8QN +r7XxF8o5fSqoHw1fp15sE18Ffn6scjAjcSM2C665sUxJIQGQR51Px/IMghKAgrST +MglOTmzso+MrqJFD9JJzIuQboumXo8CdcixhKVH7RJJ9hiTFfRojHUw= +-----END RSA PRIVATE KEY----- From c7daeb88bc75ad03b06ea22b0540a2e3353c49a0 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Wed, 18 Jan 2023 10:06:08 +0530 Subject: [PATCH 150/286] Update main.tf --- main.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.tf b/main.tf index 97a5ed8073..8abfd7cf32 100644 --- a/main.tf +++ b/main.tf @@ -44,3 +44,6 @@ provisioner "remote-exec" { private_key = file("alankey.pem") host = self.public_ip } +output "mypublicIP" { + value = aws_instance.instance-1.public_ip +} From 856ab10a265388694adec4e4a8828de00d307911 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Wed, 18 Jan 2023 10:11:54 +0530 Subject: [PATCH 151/286] Update main.tf --- main.tf | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/main.tf b/main.tf index 8abfd7cf32..ef2535a856 100644 --- a/main.tf +++ b/main.tf @@ -32,18 +32,3 @@ data "aws_ami" "app_ami" { values = ["amzn2-ami-kernel-5.10**"] } } -provisioner "remote-exec" { - inline = [ - "sudo amazon-linux-extras install -y nginx1", - "sudo systemctl start nginx" - ] - } - connection { - type = "ssh" - user = "ec2-user" - private_key = file("alankey.pem") - host = self.public_ip - } -output "mypublicIP" { - value = aws_instance.instance-1.public_ip -} From 4ab99d8dd5a57987c73662b41e6c443dc976d6c7 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Wed, 18 Jan 2023 10:15:44 +0530 Subject: [PATCH 152/286] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index ef2535a856..761070dcb2 100644 --- a/main.tf +++ b/main.tf @@ -15,7 +15,7 @@ provider "aws" { resource "aws_instance" "myec2" { instance_type = "t2.micro" ami = data.aws_ami.app_ami.id - key_name = "alankey" + tags = { Name = "import" From f5477b65e512f3ad98164652e84c45505857747d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Mon, 6 Feb 2023 07:44:59 +0530 Subject: [PATCH 153/286] Update Jenkins-terraform --- Jenkins-terraform | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index 2f228d8ebd..cd813af33e 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -16,7 +16,7 @@ pipeline { stage('Terraform Ininitialization') { steps { sh """ - cd /var/lib/jenkins/workspace/terraform + cd /var/lib/jenkins/workspace/jenkinsfilejob terraform init -reconfigure """ } @@ -24,7 +24,7 @@ pipeline { stage('Terraform Plan') { steps { sh """ - cd /var/lib/jenkins/workspace/terraform + cd /var/lib/jenkins/workspace/jenkinsfilejob terraform plan -out=plan.${BUILD_NUMBER} -var profile=${params.environment} -var region=${params.region} """ } @@ -32,7 +32,7 @@ pipeline { stage('Terraform Apply') { steps { sh """ - cd /var/lib/jenkins/workspace/terraform + cd /var/lib/jenkins/workspace/jenkinsfilejob terraform apply plan.${BUILD_NUMBER} """ } From b38697fecce86768695a9bff05053f3a09498e6b Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 7 Feb 2023 07:18:54 +0530 Subject: [PATCH 154/286] Update main.tf --- main.tf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/main.tf b/main.tf index 761070dcb2..c71854d527 100644 --- a/main.tf +++ b/main.tf @@ -21,6 +21,16 @@ resource "aws_instance" "myec2" { Name = "import" } +} +resource "aws_instance" "myec2-poll" { + instance_type = "t2.micro" + ami = data.aws_ami.app_ami.id + + + tags = { + Name = "Poll" + } + } data "aws_ami" "app_ami" { owners = ["amazon"] From 2e407a4ca5ebd24799ba6b570b17e88e2c9534ac Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 10 Feb 2023 22:04:18 +0530 Subject: [PATCH 155/286] Update Jenkins-terraform --- Jenkins-terraform | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index cd813af33e..1b5bd8a416 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -16,7 +16,7 @@ pipeline { stage('Terraform Ininitialization') { steps { sh """ - cd /var/lib/jenkins/workspace/jenkinsfilejob + cd /var/lib/jenkins/workspace/terraformjob terraform init -reconfigure """ } @@ -24,7 +24,7 @@ pipeline { stage('Terraform Plan') { steps { sh """ - cd /var/lib/jenkins/workspace/jenkinsfilejob + cd /var/lib/jenkins/workspace/terraformjob terraform plan -out=plan.${BUILD_NUMBER} -var profile=${params.environment} -var region=${params.region} """ } @@ -32,7 +32,7 @@ pipeline { stage('Terraform Apply') { steps { sh """ - cd /var/lib/jenkins/workspace/jenkinsfilejob + cd /var/lib/jenkins/workspace/terraformjob terraform apply plan.${BUILD_NUMBER} """ } From 31b8b28f1f3f13cc1a4ac7f73ea9d08588bc99bf Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 10 Feb 2023 22:23:35 +0530 Subject: [PATCH 156/286] Update main.tf --- main.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.tf b/main.tf index c71854d527..0e0f8bbea2 100644 --- a/main.tf +++ b/main.tf @@ -32,6 +32,10 @@ resource "aws_instance" "myec2-poll" { } } +resource "aws_eip" "lb" { + instance = aws_instance.myec2.id + vpc = true +} data "aws_ami" "app_ami" { owners = ["amazon"] most_recent = true From 00ddc58ed93e5728706bdcf1eb06691c53693451 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 10 Feb 2023 22:33:31 +0530 Subject: [PATCH 157/286] Update Jenkins-terraform --- Jenkins-terraform | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Jenkins-terraform b/Jenkins-terraform index 1b5bd8a416..2cf75b07ff 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -13,6 +13,13 @@ pipeline { git credentialsId: 'javahome2', url: 'https://github.com/lakshmiprasad2019/myweb.git' } } + stage('DummyStage') { + steps { + sh """ + echo "this is dummystage" + """ + } + } stage('Terraform Ininitialization') { steps { sh """ From f48ed487f692bbc75ad6ac9cbe5159ad9345fe1d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Mon, 20 Feb 2023 07:49:05 +0530 Subject: [PATCH 158/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index dda5187c82..0718bd748d 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ kammana - http://13.233.111.175:9000/ + http://3.110.156.229:9000/ 1.8 1.8 From bf4b161b5266f68056eec2383ff84d8d9d26dd5a Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Feb 2023 07:47:57 +0530 Subject: [PATCH 159/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0718bd748d..eb375aa014 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,7 @@ nexusRepo - http://65.2.179.101:8081/repository/sample-snapshots/ + http://65.2.140.211:8081/repository/mysnapshot/ From 39ba29a7e0c767903a23a6ce484afc1bb4075406 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Feb 2023 07:59:01 +0530 Subject: [PATCH 160/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index eb375aa014..02d640efa7 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ kammana - http://3.110.156.229:9000/ + http://3.111.55.184:9000/ 1.8 1.8 From f7734b4dc890c0052cc2579e553f92e313751481 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Feb 2023 08:10:38 +0530 Subject: [PATCH 161/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 02d640efa7..dabd615ca0 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.6-SNAPSHOT + 8.2.6 Java Home myweb http://maven.apache.org From b22fcab6c943df5b515e285197d16eb9d37d3dbb Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Feb 2023 22:12:14 +0530 Subject: [PATCH 162/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index dabd615ca0..4edf7447c9 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ kammana - http://3.111.55.184:9000/ + http://http://35.154.160.72:9000/ 1.8 1.8 From 81391bac5979d5e0337013bdd8f4d9b8bb7022c7 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Feb 2023 22:29:51 +0530 Subject: [PATCH 163/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4edf7447c9..f2225939f9 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ kammana - http://http://35.154.160.72:9000/ + http://35.154.160.72:9000/ 1.8 1.8 From a6c5ac5b80343c65394a874bde4748f31a4a85f9 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Feb 2023 23:11:25 +0530 Subject: [PATCH 164/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f2225939f9..bdd31a6d96 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.6 + 8.2.6-SNAP-SHOT Java Home myweb http://maven.apache.org From 513feba878362567ccfb838cca117094144265cd Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Feb 2023 23:16:25 +0530 Subject: [PATCH 165/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bdd31a6d96..2456ef5b5f 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.6-SNAP-SHOT + 8.2.6-SNAPSHOT Java Home myweb http://maven.apache.org From 2f4088f1bd6585b0c12368951107f019ae743c5b Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Feb 2023 23:18:44 +0530 Subject: [PATCH 166/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 2456ef5b5f..00cfac14a8 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.6-SNAPSHOT + 8.2.7-SNAPSHOT Java Home myweb http://maven.apache.org From acad7f632fe9ff5da2d8e2a1f036b272b39d5d4b Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 21 Feb 2023 23:21:19 +0530 Subject: [PATCH 167/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 00cfac14a8..4c8dd03c94 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.7-SNAPSHOT + 8.2.7 Java Home myweb http://maven.apache.org From 186b23d754d394588a592067541d4d9bf1241156 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Wed, 22 Feb 2023 07:54:27 +0530 Subject: [PATCH 168/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index f6ac3bfc51..98b8f29a28 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,5 @@ -

Hello All Good Morning

+

Hello Students Good Morning

From ce5a134a73055991610eb2182fcc35104e8889b8 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Wed, 22 Feb 2023 08:09:18 +0530 Subject: [PATCH 169/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4c8dd03c94..d6c85ad70d 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ kammana - http://35.154.160.72:9000/ + http://13.233.68.172:9000/ 1.8 1.8 From e9a5ca35350a356d1fc4d537784a4503d2729f4d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Wed, 22 Feb 2023 08:10:53 +0530 Subject: [PATCH 170/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d6c85ad70d..2eb362f376 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.7 + 8.2.8 Java Home myweb http://maven.apache.org From 8a105be5702f48453bd1a81b1096857f7b911a29 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Wed, 22 Feb 2023 22:11:48 +0530 Subject: [PATCH 171/286] Update index.jsp --- src/main/webapp/index.jsp | 511 +++++++++++++++++++++++++++++++++++++- 1 file changed, 509 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 98b8f29a28..01397d7a70 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,512 @@ - + + + + + + + + Mr. Camel + + + + -

Hello Students Good Morning

+
+
+

Mr. Camel

+ +
+ +
+

About Me

+

I don't look like some handsome horse, but I am a real desert king. I can survive days without water.

+

My Career

+

I work as a web developer for a company that makes websites for camel businesses.

+

+

How Can I Help You?

+ + + + + + + + + + + + + + + + + +
SKILL 1SKILL 2SKILL 3
Cleaning kaktus in your backyardStoring some fat for youTaking you through the desert
+
+
+
+
+
+
+
+
© Copyright Mr. Camel
+
+ + +â–¶ Try it + +Here is the result of the code above: + +HTML web page example 1 +Stay Ahead, Learn More + +Sample HTML code for homepage +How to use CSS in HTML +HTML code for registration form with validation +HTML Home Page Example 2 +This is the second example of an HTML web page. This is a simple error 404 page which is shown when the user tries to access a page that does not exist. + +This is a very simple webpage that shows the error 404 page on the screen and gives a link to return to the homepage. + +To design an error 404 page you need to use the following steps: + +Create a div element that covers the whole page set height: 100vh. +Give it a background image that suits the 404 error. +Style your basic text and link elements with CSS. +Example 2 + + + + + + + + + Error 404 page + + + + +
+

404

+

Page not found

+

The page you are looking for does not exist.

+

Visit Homepage

+
+ + + +â–¶ Try it +Here is the result of the code in example 2. + +HTML web page example 2 +HTML Home Page Example 3 +This is the third example of an HTML web page. This is a simple newsletter signup page. + +Here is the list of steps to create a newsletter signup page: + +First, we need to create the HTML structure of the page. We will use the
tag to wrap the content of the page. Then, we will create two sections: one for the intro and one for the sign-up form. +Next, we will style the page using CSS. We will use the display: flex property to align the content of the page. We will also use the min-height property to make sure that the page is always fully visible. +Then, we will style the intro section. +Next, we will style the sign-up section. +Finally, we will style the form. Look at the complete code below to see how we did it. +Example 3 + + + + + + + + + Sample HTML Code - NewsLetter Form + + + + +
+ +
+

Black Friday Deals

+

Get up to 50% off on all our products and services. Hurry up, the offer ends in 24 hours.

+
+ + + +
+ + From 5ad634015d6e944e8a04211f0ddc57daf06e2e4a Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Wed, 22 Feb 2023 22:15:49 +0530 Subject: [PATCH 172/286] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 2eb362f376..88a77e10fd 100644 --- a/pom.xml +++ b/pom.xml @@ -4,13 +4,13 @@ in.javahome myweb war - 8.2.8 + 8.2.9 Java Home myweb http://maven.apache.org kammana - http://13.233.68.172:9000/ + http://3.110.32.90:9000/ 1.8 1.8 From b21a71f0ed0b649884ab98d3fb23caa44ea6fe00 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Wed, 22 Feb 2023 22:22:02 +0530 Subject: [PATCH 173/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 88a77e10fd..e6cd6507a5 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.9 + 8.2.4 Java Home myweb http://maven.apache.org From fa45571c4bc39283c618d4aad82e81baa02d3bb1 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 28 Feb 2023 22:51:45 +0530 Subject: [PATCH 174/286] Update pom.xml --- pom.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pom.xml b/pom.xml index e6cd6507a5..e3c9128156 100644 --- a/pom.xml +++ b/pom.xml @@ -7,6 +7,16 @@ 8.2.4 Java Home myweb http://maven.apache.org + + org.apache.maven.plugins + maven-war-plugin + 3.3.1 + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + kammana From 5cf8c1152c6bbf17c90a4247fe31c11c69149d2f Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 28 Feb 2023 22:53:27 +0530 Subject: [PATCH 175/286] Update pom.xml --- pom.xml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index e3c9128156..6998477cd6 100644 --- a/pom.xml +++ b/pom.xml @@ -7,17 +7,7 @@ 8.2.4 Java Home myweb http://maven.apache.org - - org.apache.maven.plugins - maven-war-plugin - 3.3.1 - - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.1 - - + kammana http://3.110.32.90:9000/ From 727464ed091b9970bbab081680f0be2bd38ec1d3 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Thu, 13 Jul 2023 23:25:42 +0530 Subject: [PATCH 176/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 01397d7a70..58e6168d18 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -469,7 +469,7 @@ Example 3
-

Black Friday Deals

+

Black Thursday Deals

Get up to 50% off on all our products and services. Hurry up, the offer ends in 24 hours.

From c7a8a37275269f8bf52e6659d4ca4ddd013aebfa Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 14 Jul 2023 22:00:08 +0530 Subject: [PATCH 177/286] Update index.jsp --- src/main/webapp/index.jsp | 343 -------------------------------------- 1 file changed, 343 deletions(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 58e6168d18..a85c2d1ea4 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -167,346 +167,3 @@ -â–¶ Try it - -Here is the result of the code above: - -HTML web page example 1 -Stay Ahead, Learn More - -Sample HTML code for homepage -How to use CSS in HTML -HTML code for registration form with validation -HTML Home Page Example 2 -This is the second example of an HTML web page. This is a simple error 404 page which is shown when the user tries to access a page that does not exist. - -This is a very simple webpage that shows the error 404 page on the screen and gives a link to return to the homepage. - -To design an error 404 page you need to use the following steps: - -Create a div element that covers the whole page set height: 100vh. -Give it a background image that suits the 404 error. -Style your basic text and link elements with CSS. -Example 2 - - - - - - - - - Error 404 page - - - - -
-

404

-

Page not found

-

The page you are looking for does not exist.

-

Visit Homepage

-
- - - -â–¶ Try it -Here is the result of the code in example 2. - -HTML web page example 2 -HTML Home Page Example 3 -This is the third example of an HTML web page. This is a simple newsletter signup page. - -Here is the list of steps to create a newsletter signup page: - -First, we need to create the HTML structure of the page. We will use the
tag to wrap the content of the page. Then, we will create two sections: one for the intro and one for the sign-up form. -Next, we will style the page using CSS. We will use the display: flex property to align the content of the page. We will also use the min-height property to make sure that the page is always fully visible. -Then, we will style the intro section. -Next, we will style the sign-up section. -Finally, we will style the form. Look at the complete code below to see how we did it. -Example 3 - - - - - - - - - Sample HTML Code - NewsLetter Form - - - - -
- -
-

Black Thursday Deals

-

Get up to 50% off on all our products and services. Hurry up, the offer ends in 24 hours.

-
- - - -
- - - From 8ef2c47ef31748f4b2ff4d1607689e1d41c26097 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 18 Jul 2023 21:06:26 +0530 Subject: [PATCH 178/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6998477cd6..f1b0a7f561 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ kammana - http://3.110.32.90:9000/ + http://43.204.111.105:9000/ 1.8 1.8 From c26382496b6ab88371d71f2f0947c92fd60fecbe Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 18 Jul 2023 22:24:04 +0530 Subject: [PATCH 179/286] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index f1b0a7f561..f427a137f5 100644 --- a/pom.xml +++ b/pom.xml @@ -30,12 +30,12 @@ nexusRepo - http://65.2.140.211:8081/repository/mysnapshot/ + http://3.110.107.111:8081/repository/mysnapshot/ nexusRepo - http://65.2.179.101:8081/repository/sample-releases/ + http://3.110.107.111:8081/repository/sample-releases/ From ee47e8491a1530851a73074eab6d408ef899cfc9 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Tue, 18 Jul 2023 22:27:54 +0530 Subject: [PATCH 180/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f427a137f5..33e5af887b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.4 + 8.2.4-SNAPSHOT Java Home myweb http://maven.apache.org From d0e3d858f4d105d519d01c847ebe215a22e6b257 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 21 Jul 2023 08:21:20 +0530 Subject: [PATCH 181/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 33e5af887b..1a690cea9b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.4-SNAPSHOT + 8.2.1 Java Home myweb http://maven.apache.org From f27c8b35b40848e13394855741c8612ff4b9d552 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 21 Jul 2023 08:27:53 +0530 Subject: [PATCH 182/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1a690cea9b..8e9c02199e 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ kammana - http://43.204.111.105:9000/ + http://13.233.150.25:9000/ 1.8 1.8 From 93f06b3c7433636240721e9f7133ac3df5e8c1cc Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 21 Jul 2023 21:48:35 +0530 Subject: [PATCH 183/286] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 8e9c02199e..c83fc9e49e 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ kammana - http://13.233.150.25:9000/ + http://65.2.150.143:9000/ 1.8 1.8 @@ -30,12 +30,12 @@ nexusRepo - http://3.110.107.111:8081/repository/mysnapshot/ + http://65.2.161.67:8081/repository/mysnapshot/ nexusRepo - http://3.110.107.111:8081/repository/sample-releases/ + http://65.2.161.67:8081/repository/sample-releases/ From 83eeba7bb567589417c7002bc84fa7f1056671ee Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 21 Jul 2023 21:49:15 +0530 Subject: [PATCH 184/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c83fc9e49e..3334882e0e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.1 + 9.0.1 Java Home myweb http://maven.apache.org From 4f7b8aad7c92f00caee6cd70b2d984b7e44e5cb6 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 21 Jul 2023 21:53:14 +0530 Subject: [PATCH 185/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3334882e0e..cace4e1648 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 9.0.1 + 9.0.2 Java Home myweb http://maven.apache.org From 87e4be41c1c930824d56426d5456ff485913edc1 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 21 Jul 2023 21:58:04 +0530 Subject: [PATCH 186/286] Update Jenkins-sonar-nexus --- Jenkins-sonar-nexus | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus index c03f33319a..afc368d3b4 100644 --- a/Jenkins-sonar-nexus +++ b/Jenkins-sonar-nexus @@ -1,12 +1,6 @@ pipeline{ agent any - tools { - maven 'Maven-3.6.1' - } - - environment{ - PATH = "/opt/maven3/bin:$PATH" - } + stages{ stage("Git Checkout"){ steps{ @@ -38,20 +32,20 @@ pipeline{ version: '8.2.6-SNAPSHOT' } } - stage("deploy-dev"){ - steps{ - sshagent(['tomcat-new']) { - sh """ - scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war jenkins@192.168.1.80:/tomcatsoft/apache-tomcat-9.0.56/webapps + # stage("deploy-dev"){ + # steps{ + # sshagent(['tomcat-new']) { + # sh """ + # scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war jenkins@192.168.1.80:/tomcatsoft/apache-tomcat-9.0.56/webapps + # + # ssh jenkins@192.168.1.80 /tomcatsoft/apache-tomcat-9.0.56/bin/shutdown.sh - ssh jenkins@192.168.1.80 /tomcatsoft/apache-tomcat-9.0.56/bin/shutdown.sh - - ssh jenkins@192.168.1.80 /tomcatsoft/apache-tomcat-9.0.56/bin/startup.sh + # ssh jenkins@192.168.1.80 /tomcatsoft/apache-tomcat-9.0.56/bin/startup.sh - """ - } + # """ + #} - } + #} } } } From afb808babbdf950e2f10bea569a3d1c2322ce84f Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 21 Jul 2023 22:03:06 +0530 Subject: [PATCH 187/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index cace4e1648..505985c6d5 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 9.0.2 + 9.0.3 Java Home myweb http://maven.apache.org From 0f582fdf31e2a0d310243eff1e1edd2e2fbbc846 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 21 Jul 2023 22:09:37 +0530 Subject: [PATCH 188/286] Create Jenkinsfile-sonar-nexuseample new jenkinsfile has added --- Jenkinsfile-sonar-nexuseample | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Jenkinsfile-sonar-nexuseample diff --git a/Jenkinsfile-sonar-nexuseample b/Jenkinsfile-sonar-nexuseample new file mode 100644 index 0000000000..181755cd2d --- /dev/null +++ b/Jenkinsfile-sonar-nexuseample @@ -0,0 +1,23 @@ +pipeline{ + agent any + + stages{ + stage("Git Checkout"){ + steps{ + git credentialsId: 'javahome2', url: 'https://github.com/lakshmiprasad2019/myweb.git' + } + } + stage("Maven Build"){ + steps{ + sh "mvn clean sonar:sonar package" + + } + } + stage('Upload War To Nexus'){ + steps{ + nexusArtifactUploader artifacts: [[artifactId: 'myweb', classifier: '', file: 'target/myweb-9.0.3.war', type: 'war']], credentialsId: 'nexus4', groupId: 'in.javahome', nexusUrl: '65.2.161.67:8081', nexusVersion: 'nexus3', protocol: 'http', repository: 'sample-releases', version: '9.0.3' + } + } + + } + } From 38531acd0dbf6fbbedbb9c24c9ce4d91b28c4e83 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 21 Jul 2023 22:12:06 +0530 Subject: [PATCH 189/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 505985c6d5..30032fd995 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 9.0.3 + 9.0.3-SNAPSHOT Java Home myweb http://maven.apache.org From 055ab5fade0f5bc2974475bd9c859a5ff614810a Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 21 Jul 2023 22:14:14 +0530 Subject: [PATCH 190/286] Update Jenkinsfile-sonar-nexuseample --- Jenkinsfile-sonar-nexuseample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-sonar-nexuseample b/Jenkinsfile-sonar-nexuseample index 181755cd2d..da10778077 100644 --- a/Jenkinsfile-sonar-nexuseample +++ b/Jenkinsfile-sonar-nexuseample @@ -15,7 +15,7 @@ pipeline{ } stage('Upload War To Nexus'){ steps{ - nexusArtifactUploader artifacts: [[artifactId: 'myweb', classifier: '', file: 'target/myweb-9.0.3.war', type: 'war']], credentialsId: 'nexus4', groupId: 'in.javahome', nexusUrl: '65.2.161.67:8081', nexusVersion: 'nexus3', protocol: 'http', repository: 'sample-releases', version: '9.0.3' + nexusArtifactUploader artifacts: [[artifactId: 'myweb', classifier: '', file: 'target/myweb-9.0.3-SNAPSHOT.war', type: 'war']], credentialsId: 'nexus4', groupId: 'in.javahome', nexusUrl: '65.2.161.67:8081', nexusVersion: 'nexus3', protocol: 'http', repository: 'sample-releases', version: '9.0.3' } } From 513fe4f0d8849eac884955e08cf5171fbccab5ab Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 21 Jul 2023 22:16:48 +0530 Subject: [PATCH 191/286] Update Jenkinsfile-sonar-nexuseample --- Jenkinsfile-sonar-nexuseample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-sonar-nexuseample b/Jenkinsfile-sonar-nexuseample index da10778077..623c720cb2 100644 --- a/Jenkinsfile-sonar-nexuseample +++ b/Jenkinsfile-sonar-nexuseample @@ -15,7 +15,7 @@ pipeline{ } stage('Upload War To Nexus'){ steps{ - nexusArtifactUploader artifacts: [[artifactId: 'myweb', classifier: '', file: 'target/myweb-9.0.3-SNAPSHOT.war', type: 'war']], credentialsId: 'nexus4', groupId: 'in.javahome', nexusUrl: '65.2.161.67:8081', nexusVersion: 'nexus3', protocol: 'http', repository: 'sample-releases', version: '9.0.3' + nexusArtifactUploader artifacts: [[artifactId: 'myweb', classifier: '', file: 'target/myweb-9.0.3-SNAPSHOT.war', type: 'war']], credentialsId: 'nexus4', groupId: 'in.javahome', nexusUrl: '65.2.161.67:8081', nexusVersion: 'nexus3', protocol: 'http', repository: 'mysnapshot', version: '9.0.3-SNAPSHOT' } } From a0fbb50e0418a0fe0271b20314191bad769dc32b Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 21 Jul 2023 22:18:44 +0530 Subject: [PATCH 192/286] Update Jenkinsfile-sonar-nexuseample --- Jenkinsfile-sonar-nexuseample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-sonar-nexuseample b/Jenkinsfile-sonar-nexuseample index 623c720cb2..395daa0fcb 100644 --- a/Jenkinsfile-sonar-nexuseample +++ b/Jenkinsfile-sonar-nexuseample @@ -13,7 +13,7 @@ pipeline{ } } - stage('Upload War To Nexus'){ + stage('Upload War To Nexus repo'){ steps{ nexusArtifactUploader artifacts: [[artifactId: 'myweb', classifier: '', file: 'target/myweb-9.0.3-SNAPSHOT.war', type: 'war']], credentialsId: 'nexus4', groupId: 'in.javahome', nexusUrl: '65.2.161.67:8081', nexusVersion: 'nexus3', protocol: 'http', repository: 'mysnapshot', version: '9.0.3-SNAPSHOT' } From 1ff174e597f13496b8eb3b9ddb517686901fbf32 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 29 Jul 2023 08:34:32 +0530 Subject: [PATCH 193/286] Create Ethans672 --- Ethans672 | 1 + 1 file changed, 1 insertion(+) create mode 100644 Ethans672 diff --git a/Ethans672 b/Ethans672 new file mode 100644 index 0000000000..81a2ea5d74 --- /dev/null +++ b/Ethans672 @@ -0,0 +1 @@ +Hi this file is createing for Demo pull From 77a20ddfc7100ade3005d61245e4d8285a1f23c6 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sat, 29 Jul 2023 08:37:15 +0530 Subject: [PATCH 194/286] Ethans672 file has modified --- Ethans672 | 1 + 1 file changed, 1 insertion(+) diff --git a/Ethans672 b/Ethans672 index 81a2ea5d74..2e5bcd09ab 100644 --- a/Ethans672 +++ b/Ethans672 @@ -1 +1,2 @@ Hi this file is createing for Demo pull +I am adding this line from local repo From c3042881f73fb47db30ae391bf0367fe7d6aed72 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sat, 29 Jul 2023 08:53:47 +0530 Subject: [PATCH 195/286] modified Ethans672 from US67890 branch --- Ethans672 | 1 + 1 file changed, 1 insertion(+) diff --git a/Ethans672 b/Ethans672 index 2e5bcd09ab..dc15307e9b 100644 --- a/Ethans672 +++ b/Ethans672 @@ -1,2 +1,3 @@ Hi this file is createing for Demo pull I am adding this line from local repo +I am adding this line from US67890 branch From 266341d662402aadae29886228734b0cf12bb856 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 6 Aug 2023 08:51:44 +0530 Subject: [PATCH 196/286] Update Ethans672 --- Ethans672 | 1 + 1 file changed, 1 insertion(+) diff --git a/Ethans672 b/Ethans672 index dc15307e9b..c457579e9e 100644 --- a/Ethans672 +++ b/Ethans672 @@ -1,3 +1,4 @@ Hi this file is createing for Demo pull I am adding this line from local repo I am adding this line from US67890 branch +Just changing this to show PollSCM From f8c3c13f5ead7483cd0468a8d879cacfc97facd5 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 6 Aug 2023 09:52:24 +0530 Subject: [PATCH 197/286] Update Jenkins-terraform --- Jenkins-terraform | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index 2cf75b07ff..8f78e40c30 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -23,7 +23,7 @@ pipeline { stage('Terraform Ininitialization') { steps { sh """ - cd /var/lib/jenkins/workspace/terraformjob + cd /var/lib/jenkins/workspace/${JOB_NAME} terraform init -reconfigure """ } @@ -31,7 +31,7 @@ pipeline { stage('Terraform Plan') { steps { sh """ - cd /var/lib/jenkins/workspace/terraformjob + cd /var/lib/jenkins/workspace/${JOB_NAME} terraform plan -out=plan.${BUILD_NUMBER} -var profile=${params.environment} -var region=${params.region} """ } @@ -39,7 +39,7 @@ pipeline { stage('Terraform Apply') { steps { sh """ - cd /var/lib/jenkins/workspace/terraformjob + cd /var/lib/jenkins/workspace/${JOB_NAME} terraform apply plan.${BUILD_NUMBER} """ } From 3218095455f15ed236638af65fe0b9b859dbd2b2 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 3 Sep 2023 09:22:28 +0530 Subject: [PATCH 198/286] Update pom.xml --- pom.xml | 108 ++++++++++++++++++++++++++++++++------------------------ 1 file changed, 61 insertions(+), 47 deletions(-) diff --git a/pom.xml b/pom.xml index 30032fd995..633108bb6b 100644 --- a/pom.xml +++ b/pom.xml @@ -1,51 +1,65 @@ - 4.0.0 - in.javahome - myweb - war - 9.0.3-SNAPSHOT - Java Home myweb - http://maven.apache.org - - - kammana - http://65.2.150.143:9000/ - 1.8 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + 4.0.0 + in.javahome + myweb + war + 8.2.6 + Java Home myweb + http://maven.apache.org + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.0 + + + org.apache.maven.plugins + maven-war-plugin + 3.3.1 + + + + + + kammana + http://3.110.32.90:9000/ + 1.8 1.8 - - - - - - junit - junit - 3.8.1 - test - - - - - - - nexusRepo - http://65.2.161.67:8081/repository/mysnapshot/ - - - - nexusRepo - http://65.2.161.67:8081/repository/sample-releases/ - - - - - - maven1 - Maven.org - http://repo1.maven.org/maven2 - - - - + + + + + + junit + junit + 3.8.1 + test + + + + + + + nexusRepo + http://65.2.140.211:8081/repository/mysnapshot/ + + + + nexusRepo + http://65.2.179.101:8081/repository/sample-releases/ + + + + + + maven1 + Maven.org + http://repo1.maven.org/maven2 + + + + From 7bb857fb2f22fabec9a165cd2d11921190951cc7 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 8 Sep 2023 21:50:26 +0530 Subject: [PATCH 199/286] Update Jenkins-tomcat_byme --- Jenkins-tomcat_byme | 71 +++++++++++++++++++++++++++++++-------------- 1 file changed, 50 insertions(+), 21 deletions(-) diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme index 7b56e80107..2e58eaf104 100644 --- a/Jenkins-tomcat_byme +++ b/Jenkins-tomcat_byme @@ -1,28 +1,57 @@ -pipeline { - agent any - stages { - stage ('git_clone') { - steps { - git 'https://github.com/lakshmiprasad2019/myweb.git' - } - } - - stage (mvn_build) { - steps { - sh "mvn clean sonar:sonar package" - } - } - stage("deploy-devenv"){ +pipeline{ + agent any + tools { + maven 'Maven-3.6.1' + } + + environment{ + PATH = "/opt/maven3/bin:$PATH" + } + stages{ + stage("Git Checkout"){ steps{ + git credentialsId: 'javahome2', url: 'https://github.com/srinicloud87/myweb.git' + } + } + stage("Maven Build"){ + steps{ + sh "mvn clean sonar:sonar package" + + } + } + stage('Upload War To Nexus'){ + steps{ + nexusArtifactUploader artifacts: [ + [ + artifactId: 'myweb', + classifier: '', + file: "target/myweb-8.2.0.war", + type: 'war' + ] + ], + credentialsId: 'nexus3', + groupId: 'in.javahome', + nexusUrl: '172.31.41.103:8081', + nexusVersion: 'nexus3', + protocol: 'http', + repository: 'sample-releases', + version: '8.2.0' + } + } + stage("deploy-dev"){ + steps{ + sshagent(['tomcat-new']) { sh """ - scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war jenkins@172.31.10.183:/opt/apache-tomcat-8.5.82/webapps + scp -o StrictHostKeyChecking=no target/myweb-8.2.0.war ec2-user@172.31.42.104:/home/ec2-user/apache-tomcat-9.0.80/webapps/ - ssh jenkins@172.31.10.183 sudo /usr/local/bin/tomcatdown + ssh ec2-user@172.31.42.104 /home/ec2-user/apache-tomcat-9.0.80/bin/shutdown.sh - ssh jenkins@172.31.10.183 sudo /usr/local/bin/tomcatup + ssh ec2-user@172.31.42.104 /home/ec2-user/apache-tomcat-9.0.80/bin/startup.sh + """ } - } - - } + + } + } + } } From 4c3d3469254def40c859a1ccb2ccc976ce4ea501 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 8 Sep 2023 21:58:36 +0530 Subject: [PATCH 200/286] Update Jenkins-tomcat_byme --- Jenkins-tomcat_byme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme index 2e58eaf104..78fa7b90e2 100644 --- a/Jenkins-tomcat_byme +++ b/Jenkins-tomcat_byme @@ -10,7 +10,7 @@ pipeline{ stages{ stage("Git Checkout"){ steps{ - git credentialsId: 'javahome2', url: 'https://github.com/srinicloud87/myweb.git' + git 'https://github.com/lakshmiprasad2019/myweb.git' } } stage("Maven Build"){ From e7dad6102d462ec957b3cf749302e232469cf61e Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 8 Sep 2023 22:20:53 +0530 Subject: [PATCH 201/286] Update Jenkins-tomcat_byme --- Jenkins-tomcat_byme | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme index 78fa7b90e2..b9064ec5dd 100644 --- a/Jenkins-tomcat_byme +++ b/Jenkins-tomcat_byme @@ -31,7 +31,7 @@ pipeline{ ], credentialsId: 'nexus3', groupId: 'in.javahome', - nexusUrl: '172.31.41.103:8081', + nexusUrl: '172.31.2.154:8081', nexusVersion: 'nexus3', protocol: 'http', repository: 'sample-releases', @@ -42,11 +42,11 @@ pipeline{ steps{ sshagent(['tomcat-new']) { sh """ - scp -o StrictHostKeyChecking=no target/myweb-8.2.0.war ec2-user@172.31.42.104:/home/ec2-user/apache-tomcat-9.0.80/webapps/ + scp -o StrictHostKeyChecking=no target/myweb-8.2.0.war ec2-user@172.31.39.180:/home/ec2-user/apache-tomcat-9.0.80/webapps/ - ssh ec2-user@172.31.42.104 /home/ec2-user/apache-tomcat-9.0.80/bin/shutdown.sh + ssh ec2-user@172.31.39.180 /home/ec2-user/apache-tomcat-9.0.80/bin/shutdown.sh - ssh ec2-user@172.31.42.104 /home/ec2-user/apache-tomcat-9.0.80/bin/startup.sh + ssh ec2-user@172.31.39.180 /home/ec2-user/apache-tomcat-9.0.80/bin/startup.sh """ } From c172643fe2c56ccaaf9434be1c341d9af86fb22b Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Fri, 8 Sep 2023 22:22:23 +0530 Subject: [PATCH 202/286] Update pom.xml --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 633108bb6b..9818bc299d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.6 + 8.2.0 Java Home myweb http://maven.apache.org @@ -24,7 +24,7 @@ kammana - http://3.110.32.90:9000/ + http://3.110.88.146:9000/ 1.8 1.8 @@ -44,12 +44,12 @@ nexusRepo - http://65.2.140.211:8081/repository/mysnapshot/ + http://65.0.45.12:8081/repository/mysnapshot/ nexusRepo - http://65.2.179.101:8081/repository/sample-releases/ + http://65.0.45.12:8081/repository/sample-releases/ From 0693120dc5f0389c85224bd387067aa1c1531330 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 9 Sep 2023 09:32:50 +0530 Subject: [PATCH 203/286] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 9818bc299d..f7b8e0fbf2 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ kammana - http://3.110.88.146:9000/ + http://3.109.214.157:9000/ 1.8 1.8 @@ -44,12 +44,12 @@ nexusRepo - http://65.0.45.12:8081/repository/mysnapshot/ + http://3.110.216.155:8081/repository/mysnapshot/ nexusRepo - http://65.0.45.12:8081/repository/sample-releases/ + http://3.110.216.155:8081/repository/sample-releases/ From da742c7e92bf9d88381bf5f5babfa65e76270ece Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 9 Sep 2023 09:36:16 +0530 Subject: [PATCH 204/286] Update Jenkins-tomcat_byme --- Jenkins-tomcat_byme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme index b9064ec5dd..18af8866af 100644 --- a/Jenkins-tomcat_byme +++ b/Jenkins-tomcat_byme @@ -31,7 +31,7 @@ pipeline{ ], credentialsId: 'nexus3', groupId: 'in.javahome', - nexusUrl: '172.31.2.154:8081', + nexusUrl: '172.31.36.21:8081', nexusVersion: 'nexus3', protocol: 'http', repository: 'sample-releases', From 72568bf94e13637ab4e3f79c21747a48754b70a6 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 9 Sep 2023 09:37:45 +0530 Subject: [PATCH 205/286] Update Jenkins-tomcat_byme --- Jenkins-tomcat_byme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme index 18af8866af..49cd570ff3 100644 --- a/Jenkins-tomcat_byme +++ b/Jenkins-tomcat_byme @@ -34,7 +34,7 @@ pipeline{ nexusUrl: '172.31.36.21:8081', nexusVersion: 'nexus3', protocol: 'http', - repository: 'sample-releases', + repository: 'sample-release', version: '8.2.0' } } From 2bc52e0b2344e9b60ea3b70001989813a4d1d035 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 9 Sep 2023 09:40:06 +0530 Subject: [PATCH 206/286] Update Jenkins-tomcat_byme --- Jenkins-tomcat_byme | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme index 49cd570ff3..f6b8337c3e 100644 --- a/Jenkins-tomcat_byme +++ b/Jenkins-tomcat_byme @@ -42,11 +42,11 @@ pipeline{ steps{ sshagent(['tomcat-new']) { sh """ - scp -o StrictHostKeyChecking=no target/myweb-8.2.0.war ec2-user@172.31.39.180:/home/ec2-user/apache-tomcat-9.0.80/webapps/ + scp -o StrictHostKeyChecking=no target/myweb-8.2.0.war ec2-user@172.31.42.139:/home/ec2-user/apache-tomcat-9.0.80/webapps/ - ssh ec2-user@172.31.39.180 /home/ec2-user/apache-tomcat-9.0.80/bin/shutdown.sh + ssh ec2-user@172.31.42.139 /home/ec2-user/apache-tomcat-9.0.80/bin/shutdown.sh - ssh ec2-user@172.31.39.180 /home/ec2-user/apache-tomcat-9.0.80/bin/startup.sh + ssh ec2-user@172.31.42.139 /home/ec2-user/apache-tomcat-9.0.80/bin/startup.sh """ } From f2b11d74daa3800ab4ad2172b07546dd7fef5f7e Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 9 Sep 2023 09:50:15 +0530 Subject: [PATCH 207/286] Update Jenkins-tomcat_byme --- Jenkins-tomcat_byme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme index f6b8337c3e..3cb0a3297e 100644 --- a/Jenkins-tomcat_byme +++ b/Jenkins-tomcat_byme @@ -40,7 +40,7 @@ pipeline{ } stage("deploy-dev"){ steps{ - sshagent(['tomcat-new']) { + sshagent(['tomcat-new2']) { sh """ scp -o StrictHostKeyChecking=no target/myweb-8.2.0.war ec2-user@172.31.42.139:/home/ec2-user/apache-tomcat-9.0.80/webapps/ From 75bdf5d0d15cbc4111b7a05bb5971c8f80152867 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 9 Sep 2023 11:52:53 +0530 Subject: [PATCH 208/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f7b8e0fbf2..952b8eefb8 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.0 + 8.3.0 Java Home myweb http://maven.apache.org From 0ff3e65432bb5f96992443d15a5a34c89afb8400 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 9 Sep 2023 11:55:23 +0530 Subject: [PATCH 209/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 952b8eefb8..892ed901b6 100644 --- a/pom.xml +++ b/pom.xml @@ -49,7 +49,7 @@ nexusRepo - http://3.110.216.155:8081/repository/sample-releases/ + http://3.110.216.155:8081/repository/sample-release/ From f0e16096848471343484181d31f9516d59508d2f Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 9 Sep 2023 11:57:08 +0530 Subject: [PATCH 210/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 892ed901b6..d062af756c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.3.0 + 8.2.0 Java Home myweb http://maven.apache.org From fb364adaf06aff8a12dcc05e5849323181959657 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 9 Sep 2023 12:02:28 +0530 Subject: [PATCH 211/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d062af756c..11dbdf46fa 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.0 + 8.2.1 Java Home myweb http://maven.apache.org From 73d7d0f8c111e6280c360787cde14aed3ebb4948 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 10 Sep 2023 12:51:26 +0530 Subject: [PATCH 212/286] Update Jenkins-tomcat_byme --- Jenkins-tomcat_byme | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme index 3cb0a3297e..f7792edbbb 100644 --- a/Jenkins-tomcat_byme +++ b/Jenkins-tomcat_byme @@ -29,9 +29,9 @@ pipeline{ type: 'war' ] ], - credentialsId: 'nexus3', + credentialsId: 'nexu3', groupId: 'in.javahome', - nexusUrl: '172.31.36.21:8081', + nexusUrl: '172.31.33.1:8081', nexusVersion: 'nexus3', protocol: 'http', repository: 'sample-release', @@ -40,13 +40,13 @@ pipeline{ } stage("deploy-dev"){ steps{ - sshagent(['tomcat-new2']) { + sshagent(['tomcat-new']) { sh """ - scp -o StrictHostKeyChecking=no target/myweb-8.2.0.war ec2-user@172.31.42.139:/home/ec2-user/apache-tomcat-9.0.80/webapps/ + scp -o StrictHostKeyChecking=no target/myweb-8.2.0.war ec2-user@172.31.33.111:/home/ec2-user/apache-tomcat-9.0.80/webapps/ - ssh ec2-user@172.31.42.139 /home/ec2-user/apache-tomcat-9.0.80/bin/shutdown.sh + ssh ec2-user@172.31.33.111 /home/ec2-user/apache-tomcat-9.0.80/bin/shutdown.sh - ssh ec2-user@172.31.42.139 /home/ec2-user/apache-tomcat-9.0.80/bin/startup.sh + ssh ec2-user@172.31.33.111 /home/ec2-user/apache-tomcat-9.0.80/bin/startup.sh """ } From 8241129a27c3f609fb39d613c0cbc74d6e1f1c3b Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 10 Sep 2023 12:52:46 +0530 Subject: [PATCH 213/286] Update pom.xml --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 11dbdf46fa..9a8ca36a68 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.1 + 8.2.0 Java Home myweb http://maven.apache.org @@ -24,7 +24,7 @@ kammana - http://3.109.214.157:9000/ + http://13.232.244.50:9000/ 1.8 1.8 @@ -44,12 +44,12 @@ nexusRepo - http://3.110.216.155:8081/repository/mysnapshot/ + http://13.234.38.5:8081/repository/sample-snapshot/ nexusRepo - http://3.110.216.155:8081/repository/sample-release/ + http://13.234.38.5:8081/repository/sample-release/ From 483f9e5a56ab5dc5edb43bf600a4de8af701d610 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 10 Sep 2023 12:58:53 +0530 Subject: [PATCH 214/286] Update Jenkins-tomcat_byme --- Jenkins-tomcat_byme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme index f7792edbbb..c363058849 100644 --- a/Jenkins-tomcat_byme +++ b/Jenkins-tomcat_byme @@ -40,7 +40,7 @@ pipeline{ } stage("deploy-dev"){ steps{ - sshagent(['tomcat-new']) { + sshagent(['tomcat-new1']) { sh """ scp -o StrictHostKeyChecking=no target/myweb-8.2.0.war ec2-user@172.31.33.111:/home/ec2-user/apache-tomcat-9.0.80/webapps/ From c986d544bccd3d6f6104062ec597566905c3e68c Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 10 Sep 2023 13:04:08 +0530 Subject: [PATCH 215/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index a85c2d1ea4..a36592f99e 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -73,7 +73,7 @@ li a:hover:not(.active) { background-color: #29292a; - color: white; + color: red; } table { From e80f8c91c621094db592fae6884c0f7a37f05784 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 10 Sep 2023 13:09:14 +0530 Subject: [PATCH 216/286] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 0e0f8bbea2..2a44817d13 100644 --- a/main.tf +++ b/main.tf @@ -13,7 +13,7 @@ provider "aws" { profile = var.profile } resource "aws_instance" "myec2" { - instance_type = "t2.micro" + instance_type = "t2.medium" ami = data.aws_ami.app_ami.id From 91154d1ebe42bc96d0bd00b7a956170909a0c422 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sun, 7 Jan 2024 12:36:17 +0530 Subject: [PATCH 217/286] jenkins file has changed --- Jenkins-terraform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index 8f78e40c30..e462caf52e 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -16,7 +16,7 @@ pipeline { stage('DummyStage') { steps { sh """ - echo "this is dummystage" + echo "this is dummystage to understand" """ } } From 16e0f5e7bc4e8810d92e41ce163b3f20320d7813 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sun, 7 Jan 2024 12:39:22 +0530 Subject: [PATCH 218/286] code has changed --- Jenkins-terraform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkins-terraform b/Jenkins-terraform index e462caf52e..65f81fea4d 100644 --- a/Jenkins-terraform +++ b/Jenkins-terraform @@ -1,7 +1,7 @@ pipeline { parameters { - string(name: 'environment', defaultValue: 'Prd', description: 'Workspace/Environment file to use for deployment') + string(name: 'environment', defaultValue: 'Prod', description: 'Workspace/Environment file to use for deployment') string(name: 'region', defaultValue: 'us-east-1', description: 'Workspace/region file to use for deployment') From 54fdf8b9761e84e5df3c10747b903a46d7169dce Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Thu, 18 Jan 2024 22:50:26 +0530 Subject: [PATCH 219/286] Update pom.xml --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 9a8ca36a68..44bfed281d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.0 + 8.2.0-SNAPSHOT Java Home myweb http://maven.apache.org @@ -24,7 +24,7 @@ kammana - http://13.232.244.50:9000/ + http://54.224.207.246:9000/ 1.8 1.8 @@ -44,12 +44,12 @@ nexusRepo - http://13.234.38.5:8081/repository/sample-snapshot/ + http://35.174.3.98:8081/repository/repositories:sample-snap nexusRepo - http://13.234.38.5:8081/repository/sample-release/ + http://35.174.3.98:8081/repository/sample-release/ From a2f7d5d0e5cc2333cfcdf43875700a1a84562ffa Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Thu, 18 Jan 2024 23:04:44 +0530 Subject: [PATCH 220/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 44bfed281d..e936865267 100644 --- a/pom.xml +++ b/pom.xml @@ -44,7 +44,7 @@ nexusRepo - http://35.174.3.98:8081/repository/repositories:sample-snap + http://35.174.3.98:8081/repository/sample-snap/ From 3df1d711a4fc0e595b8b9c4f9a671ed1ad1273d2 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Thu, 18 Jan 2024 23:12:49 +0530 Subject: [PATCH 221/286] Update pom.xml --- pom.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index e936865267..c01ede57f6 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.0-SNAPSHOT + 8.2.4-SNAPSHOT Java Home myweb http://maven.apache.org @@ -12,12 +12,12 @@ org.apache.maven.plugins maven-compiler-plugin - 3.0 + 3.10.1 org.apache.maven.plugins maven-war-plugin - 3.3.1 + 3.3.2 @@ -44,12 +44,12 @@ nexusRepo - http://35.174.3.98:8081/repository/sample-snap/ + http://65.2.140.211:8081/repository/mysnapshot/ nexusRepo - http://35.174.3.98:8081/repository/sample-release/ + http://65.2.179.101:8081/repository/sample-releases/ From 51f13d6e6bd8d9ab18b8ea029714843b3f39fc4e Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Thu, 18 Jan 2024 23:58:21 +0530 Subject: [PATCH 222/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c01ede57f6..a539c1bbf7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.4-SNAPSHOT + 8.2.4 Java Home myweb http://maven.apache.org From 0a8fd47cab11684b50de69ee0f86a4aa957a2e9b Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 20 Jan 2024 11:23:41 +0530 Subject: [PATCH 223/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a539c1bbf7..5cfaf9045d 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ kammana - http://54.224.207.246:9000/ + http://3.145.160.230:9000/ 1.8 1.8 From ca9889345360fabcb8ee2de8c69b317cc1362f0d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 20 Jan 2024 11:41:00 +0530 Subject: [PATCH 224/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5cfaf9045d..fdf29f4e52 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.4 + 8.2.4-SNAPSHOT Java Home myweb http://maven.apache.org From c55396355e89591edcc067004bd0f1738cfb9c9f Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 18 Feb 2024 11:33:07 +0530 Subject: [PATCH 225/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index fdf29f4e52..0d8b881fb3 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ kammana - http://3.145.160.230:9000/ + http://34.201.40.15:9000/ 1.8 1.8 From 43c5ab774ed8f6cd6f45764979c99a633daf3f18 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 18 Feb 2024 11:36:44 +0530 Subject: [PATCH 226/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0d8b881fb3..2fb957eb4c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.4-SNAPSHOT + 8.2.4 Java Home myweb http://maven.apache.org From b31ff0965ff71f4f110026cd5bc15141cd856d6c Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 18 Feb 2024 12:39:22 +0530 Subject: [PATCH 227/286] Update deployments.yml --- deployments.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments.yml b/deployments.yml index 91a67a7d63..793484a8ee 100644 --- a/deployments.yml +++ b/deployments.yml @@ -16,6 +16,6 @@ spec: spec: containers: - name: myweb - image: kammana/myweb:"$(version)" + image: jaggarapup/b747image ports: - containerPort: 8080 From 987f48b5ff3127ae23fc8869ffdf855221974582 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 30 Mar 2024 06:53:18 +0530 Subject: [PATCH 228/286] Update setenv.sh --- setenv.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setenv.sh b/setenv.sh index 77e066afff..93a6033699 100644 --- a/setenv.sh +++ b/setenv.sh @@ -1,3 +1,4 @@ export JAVA_OPTS= "-Xms128m -Xmx1024m" export JAVA_OPTS_123= "-Xms128m -Xmx1024m" export JAVA_OPTS_12345= "-Xms128m -Xmx1024m" +echo "date" From 2104b86939729e86173089ad31e4521b7d0158df Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 30 Mar 2024 09:30:05 +0530 Subject: [PATCH 229/286] Update eeksha --- eeksha | 1 + 1 file changed, 1 insertion(+) diff --git a/eeksha b/eeksha index 6de316514e..ac91149e68 100644 --- a/eeksha +++ b/eeksha @@ -3,3 +3,4 @@ this is second line modify this is third line modify this is forth line modify this is fifth line modify +This is to show demo of webhook From 0ac619057fca2d2c6b2053f07ce607c4bf499163 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 30 Mar 2024 09:30:54 +0530 Subject: [PATCH 230/286] Update eeksha --- eeksha | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeksha b/eeksha index ac91149e68..018e81bc06 100644 --- a/eeksha +++ b/eeksha @@ -3,4 +3,4 @@ this is second line modify this is third line modify this is forth line modify this is fifth line modify -This is to show demo of webhook +This is to show demo of webhook demo From 843900e303b02949508cab66ec346b85a354d6f3 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 31 Mar 2024 10:15:18 +0530 Subject: [PATCH 231/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 2fb957eb4c..a75823572e 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ kammana - http://34.201.40.15:9000/ + http://52.15.95.97:9000/ 1.8 1.8 From 307589241f1e791db666a46ecad700e9942b441b Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 6 Apr 2024 09:51:52 +0530 Subject: [PATCH 232/286] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index a75823572e..a81b412537 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ kammana - http://52.15.95.97:9000/ + http://34.230.85.156:9000/ 1.8 1.8 @@ -44,12 +44,12 @@ nexusRepo - http://65.2.140.211:8081/repository/mysnapshot/ + http://18.234.224.205:8081/repository/Mysnapshot/ nexusRepo - http://65.2.179.101:8081/repository/sample-releases/ + http://18.234.224.205:8081/repository/myrelease2/ From 2698058b2d1e358193866494d20b49786cceb26b Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 6 Apr 2024 10:24:11 +0530 Subject: [PATCH 233/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a81b412537..9d9527bf67 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.4 + 8.2.5 Java Home myweb http://maven.apache.org From 6584a5e89610d331b65e504f85f9c64311f518ed Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 20 Apr 2024 09:41:36 +0530 Subject: [PATCH 234/286] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 9d9527bf67..47227f17b9 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ kammana - http://34.230.85.156:9000/ + http://35.153.57.170:9000/ 1.8 1.8 @@ -44,12 +44,12 @@ nexusRepo - http://18.234.224.205:8081/repository/Mysnapshot/ + http://52.201.154.237:8081/repository/mysnapshots/ nexusRepo - http://18.234.224.205:8081/repository/myrelease2/ + http://52.201.154.237:8081/repository/myreleases/ From 574002960f8887c9b1f2f85dd0a173897d0dd740 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 20 Apr 2024 10:08:12 +0530 Subject: [PATCH 235/286] Update deployments.yml --- deployments.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments.yml b/deployments.yml index 793484a8ee..65961086e0 100644 --- a/deployments.yml +++ b/deployments.yml @@ -16,6 +16,6 @@ spec: spec: containers: - name: myweb - image: jaggarapup/b747image + image: jaggarapup/b780-new-image ports: - containerPort: 8080 From 690d2eaa9dcd44a02d262b4f0c31b975bb5df5da Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 2 Jun 2024 08:32:38 +0530 Subject: [PATCH 236/286] Create 01062024 --- 01062024 | 1 + 1 file changed, 1 insertion(+) create mode 100644 01062024 diff --git a/01062024 b/01062024 new file mode 100644 index 0000000000..43597d27a0 --- /dev/null +++ b/01062024 @@ -0,0 +1 @@ +Hi this file has created to demo pull From 40643ee52c5b82669110423da3ccfe86813a451d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 2 Jun 2024 08:40:22 +0530 Subject: [PATCH 237/286] Update 01062024 --- 01062024 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01062024 b/01062024 index 43597d27a0..f0c0a6d76d 100644 --- a/01062024 +++ b/01062024 @@ -1 +1 @@ -Hi this file has created to demo pull +Hi this file has created to demo pull to local From b1963614d901c3c3a78b748da0028786234def22 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 9 Jun 2024 09:28:22 +0530 Subject: [PATCH 238/286] Update main.tf --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 2a44817d13..4cc99257fd 100644 --- a/main.tf +++ b/main.tf @@ -9,8 +9,8 @@ terraform { # Configure the AWS Provider provider "aws" { - region = var.region - profile = var.profile + region = "us-east-1" + } resource "aws_instance" "myec2" { instance_type = "t2.medium" From 1cafa481c3b5724382afd1554a6b1a8d89786758 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 9 Jun 2024 09:32:21 +0530 Subject: [PATCH 239/286] Update vars.tf --- vars.tf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vars.tf b/vars.tf index 324edaf153..f44cbb19f5 100644 --- a/vars.tf +++ b/vars.tf @@ -1,6 +1,6 @@ -variable "profile" { - type = string -} -variable "region" { - type = string -} +#variable "profile" { +# type = string +#} +#variable "region" { +# type = string +#} From bbf273e94d8b38c156b5550137a09cfb118e798d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 9 Jun 2024 09:34:26 +0530 Subject: [PATCH 240/286] Update main.tf --- main.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.tf b/main.tf index 4cc99257fd..321a12f969 100644 --- a/main.tf +++ b/main.tf @@ -32,10 +32,10 @@ resource "aws_instance" "myec2-poll" { } } -resource "aws_eip" "lb" { - instance = aws_instance.myec2.id - vpc = true -} +#resource "aws_eip" "lb" { + # instance = aws_instance.myec2.id +# vpc = true +#} data "aws_ami" "app_ami" { owners = ["amazon"] most_recent = true From bc281d7790e47498842a37abf1afcbf8aaba0003 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 9 Jun 2024 09:36:43 +0530 Subject: [PATCH 241/286] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 321a12f969..49a2cf2991 100644 --- a/main.tf +++ b/main.tf @@ -9,7 +9,7 @@ terraform { # Configure the AWS Provider provider "aws" { - region = "us-east-1" + region = "us-west-2" } resource "aws_instance" "myec2" { From 82f7593475da3b815e808cbee76cb377b0cb1ee4 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 9 Jun 2024 09:39:28 +0530 Subject: [PATCH 242/286] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 49a2cf2991..07b459fd77 100644 --- a/main.tf +++ b/main.tf @@ -13,7 +13,7 @@ provider "aws" { } resource "aws_instance" "myec2" { - instance_type = "t2.medium" + instance_type = "t2.micro" ami = data.aws_ami.app_ami.id From 738cf0bbd0d1eef677c1648800541a0b4a25b4df Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 9 Jun 2024 09:44:52 +0530 Subject: [PATCH 243/286] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 07b459fd77..8ca828cfd1 100644 --- a/main.tf +++ b/main.tf @@ -23,7 +23,7 @@ resource "aws_instance" "myec2" { } resource "aws_instance" "myec2-poll" { - instance_type = "t2.micro" + instance_type = "t2.medium" ami = data.aws_ami.app_ami.id From a9ab611b0e00c77139f6c87a08b59f3fc3e08146 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 Date: Sun, 9 Jun 2024 09:54:17 +0530 Subject: [PATCH 244/286] changed my instance type --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 8ca828cfd1..0b107412cd 100644 --- a/main.tf +++ b/main.tf @@ -13,7 +13,7 @@ provider "aws" { } resource "aws_instance" "myec2" { - instance_type = "t2.micro" + instance_type = "t2.medium" ami = data.aws_ami.app_ami.id From 378a8752111aa503fd76c80a27a836ab0d16637e Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 22 Jun 2024 09:14:59 +0530 Subject: [PATCH 245/286] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 0b107412cd..4c61c1a6d6 100644 --- a/main.tf +++ b/main.tf @@ -9,7 +9,7 @@ terraform { # Configure the AWS Provider provider "aws" { - region = "us-west-2" + region = "ap-south-1" } resource "aws_instance" "myec2" { From ed909910a646b9bfc7ee7f5f231e91c08ceb8f3d Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 22 Jun 2024 10:24:53 +0530 Subject: [PATCH 246/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 47227f17b9..be4e0ee365 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ kammana - http://35.153.57.170:9000/ + http://35.87.200.247:9000/ 1.8 1.8 From 0048f88bbece6ac2c56525667daa14e2ab1a601c Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 29 Jun 2024 08:52:46 +0530 Subject: [PATCH 247/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index be4e0ee365..5f92c6ed93 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ kammana - http://35.87.200.247:9000/ + http://18.207.234.194:9000/ 1.8 1.8 From 0c5d9efb276eb0e37788f1e6bfa58769370a4369 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 29 Jun 2024 09:12:58 +0530 Subject: [PATCH 248/286] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 5f92c6ed93..709847666f 100644 --- a/pom.xml +++ b/pom.xml @@ -44,12 +44,12 @@ nexusRepo - http://52.201.154.237:8081/repository/mysnapshots/ + http://100.24.240.103:8081/repository/maven-snapshots/ nexusRepo - http://52.201.154.237:8081/repository/myreleases/ + http://100.24.240.103:8081/repository/maven-releases/ From 464ea1e39f20a20604927c49e1e39a6e38ad3b31 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 29 Jun 2024 09:26:16 +0530 Subject: [PATCH 249/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 709847666f..a6e45489f3 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.5 + 8.2.5-SNAPSHOT Java Home myweb http://maven.apache.org From 452c478b6f1f24a06a7ef44728d8a29eb2819549 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 29 Jun 2024 10:24:25 +0530 Subject: [PATCH 250/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a6e45489f3..6803a4af78 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.5-SNAPSHOT + 8.2.6-SNAPSHOT Java Home myweb http://maven.apache.org From d68d04fc12cce11a1425bf2d4148a821f513b654 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 29 Jun 2024 10:30:36 +0530 Subject: [PATCH 251/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6803a4af78..e6fff514bc 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.6-SNAPSHOT + 8.2.7-SNAPSHOT Java Home myweb http://maven.apache.org From e6a5f18b41081e33b9b29d8e67171bbe128dd2bb Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 3 Aug 2024 11:52:32 +0530 Subject: [PATCH 252/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e6fff514bc..708fa1c1a2 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ kammana - http://18.207.234.194:9000/ + http://3.93.164.136:9000/ 1.8 1.8 From 1ae35beb3d3f3bc6366c97a97dd82d8a0384a6b3 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 3 Aug 2024 12:45:35 +0530 Subject: [PATCH 253/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 708fa1c1a2..629d6d05d2 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.7-SNAPSHOT + 8.2.8-SNAPSHOT Java Home myweb http://maven.apache.org From 4fa12e7343d2f467a4ab6ed5a256f90e4995354a Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 3 Aug 2024 12:46:31 +0530 Subject: [PATCH 254/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 629d6d05d2..34480f1b3c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.8-SNAPSHOT + 8.2.9-SNAPSHOT Java Home myweb http://maven.apache.org From 793e5ede4a392d644c07f218700d770d0cdaaada Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 4 Aug 2024 11:15:53 +0530 Subject: [PATCH 255/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 34480f1b3c..b3f3a897df 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ kammana - http://3.93.164.136:9000/ + http://54.164.101.253:9000/ 1.8 1.8 From ac6fcb59d5acdbfeee6cc33a80822c8b59be9a31 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 4 Aug 2024 11:27:04 +0530 Subject: [PATCH 256/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b3f3a897df..ca709fed38 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.9-SNAPSHOT + 8.2.10-SNAPSHOT Java Home myweb http://maven.apache.org From c61548e74db93ee0976fd07aee8dabd6b3c782b7 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 4 Aug 2024 11:29:50 +0530 Subject: [PATCH 257/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ca709fed38..2c596b63fb 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.10-SNAPSHOT + 8.2.10 Java Home myweb http://maven.apache.org From f086e8354cd60842aee5ba3baddd1090d0c1fef8 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 4 Aug 2024 11:35:51 +0530 Subject: [PATCH 258/286] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 2c596b63fb..3400eb3015 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.10 + 8.2.11-SNAPSHOT Java Home myweb http://maven.apache.org @@ -44,12 +44,12 @@ nexusRepo - http://100.24.240.103:8081/repository/maven-snapshots/ + http://54.147.162.17:8081/repository/mysnapshot/ nexusRepo - http://100.24.240.103:8081/repository/maven-releases/ + http://54.147.162.17:8081/repository/myreleases/ From 373d3735d784b5aea0429cebde5f882439f46088 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 4 Aug 2024 11:47:22 +0530 Subject: [PATCH 259/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3400eb3015..f97e732992 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.11-SNAPSHOT + 8.2.11 Java Home myweb http://maven.apache.org From 5af0cafc56d6758d0aada1d89bb63a32eea8adc9 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 4 Aug 2024 12:40:44 +0530 Subject: [PATCH 260/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f97e732992..f86808f13a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.11 + 8.2.12 Java Home myweb http://maven.apache.org From dac4b041581996019e3452dbc2e434e33b6faf60 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 8 Sep 2024 13:35:16 +0530 Subject: [PATCH 261/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f86808f13a..fb7b8eb709 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ kammana - http://54.164.101.253:9000/ + http://52.42.132.62:9000/ 1.8 1.8 From 12c15120ece66143961e41b73b843ae0ab7dcb55 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 8 Sep 2024 13:39:08 +0530 Subject: [PATCH 262/286] Update pom.xml --- pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pom.xml b/pom.xml index fb7b8eb709..e605f32fc6 100644 --- a/pom.xml +++ b/pom.xml @@ -19,6 +19,11 @@ maven-war-plugin 3.3.2 + + org.sonarsource.scanner.maven + sonar-maven-plugin + 4.0.0.4121 + From 2259df5df4c3e54d35f971fd03db823c4260a4d5 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 8 Sep 2024 13:41:55 +0530 Subject: [PATCH 263/286] Update pom.xml --- pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pom.xml b/pom.xml index e605f32fc6..a36b449181 100644 --- a/pom.xml +++ b/pom.xml @@ -24,6 +24,11 @@ sonar-maven-plugin 4.0.0.4121 + + org.sonarsource.scanner.maven + sonar-maven-plugin + 3.9.1.2184 + From 6cd1e0e3bde5858fb1e7d1cc3e4c2e8860682a27 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 8 Sep 2024 13:46:29 +0530 Subject: [PATCH 264/286] Update pom.xml --- pom.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index a36b449181..fbd3d41604 100644 --- a/pom.xml +++ b/pom.xml @@ -35,8 +35,9 @@ kammana http://52.42.132.62:9000/ - 1.8 - 1.8 + 11 + 11 + 11 From 25d5eb58eafdda254c91aede8e4449068c750a24 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 8 Sep 2024 13:48:29 +0530 Subject: [PATCH 265/286] Update pom.xml --- pom.xml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/pom.xml b/pom.xml index fbd3d41604..2efdc1f6aa 100644 --- a/pom.xml +++ b/pom.xml @@ -19,25 +19,14 @@ maven-war-plugin 3.3.2 - - org.sonarsource.scanner.maven - sonar-maven-plugin - 4.0.0.4121 - - - org.sonarsource.scanner.maven - sonar-maven-plugin - 3.9.1.2184 - - - + kammana http://52.42.132.62:9000/ - 11 - 11 - 11 + 1.8 + 1.8 + From 54895cf7664caba22c05d3f10f12818e58888eea Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 8 Sep 2024 14:04:56 +0530 Subject: [PATCH 266/286] Update deployments.yml --- deployments.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments.yml b/deployments.yml index 65961086e0..e8afd290ac 100644 --- a/deployments.yml +++ b/deployments.yml @@ -16,6 +16,6 @@ spec: spec: containers: - name: myweb - image: jaggarapup/b780-new-image + image: jaggarapup/b840image ports: - containerPort: 8080 From b0a7cd19247b637d9e7929a11705372676d14b23 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 21 Sep 2024 14:00:12 +0530 Subject: [PATCH 267/286] Update 55 --- 55 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/55 b/55 index 3f02eca2a7..be0a319635 100644 --- a/55 +++ b/55 @@ -1 +1 @@ -dummy data +Adding data to test my automatic build From df91fcbc456f09c52e8d020b9910a4a7fb072360 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 21 Sep 2024 14:07:40 +0530 Subject: [PATCH 268/286] Update 55 --- 55 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/55 b/55 index be0a319635..b0f3cfce34 100644 --- a/55 +++ b/55 @@ -1 +1 @@ -Adding data to test my automatic build +Modifing this line to test webhook From 01b409dc75cc9a20a3562a5d08048e3e43d72128 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 29 Sep 2024 15:06:07 +0530 Subject: [PATCH 269/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 2efdc1f6aa..bf5a8105bc 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ kammana - http://52.42.132.62:9000/ + http://54.198.233.123/:9000/ 1.8 1.8 From 5e29b2b89d85eb050cacbef128e9056b2dec5c41 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 29 Sep 2024 15:15:35 +0530 Subject: [PATCH 270/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bf5a8105bc..fc8489b3cb 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ kammana - http://54.198.233.123/:9000/ + http://54.198.233.123:9000/ 1.8 1.8 From 4753c119176b70bbd4d72bd53ca8c41c7d77aceb Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 5 Oct 2024 08:39:39 +0530 Subject: [PATCH 271/286] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 4c61c1a6d6..35d60b54fd 100644 --- a/main.tf +++ b/main.tf @@ -9,7 +9,7 @@ terraform { # Configure the AWS Provider provider "aws" { - region = "ap-south-1" + region = "us-east-1" } resource "aws_instance" "myec2" { From b9a66e18a4adb99a24863740facfbca9d5541de6 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 5 Oct 2024 08:43:30 +0530 Subject: [PATCH 272/286] Create Jenkinsfile_myterraformpipeline --- Jenkinsfile_myterraformpipeline | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Jenkinsfile_myterraformpipeline diff --git a/Jenkinsfile_myterraformpipeline b/Jenkinsfile_myterraformpipeline new file mode 100644 index 0000000000..06fa31ecfc --- /dev/null +++ b/Jenkinsfile_myterraformpipeline @@ -0,0 +1,27 @@ +pipeline { + agent any + + stages { + stage('git checkout') { + steps { + git 'https://github.com/lakshmiprasad2019/myweb.git' + } + } + stage('terraform init phase') { + steps { + sh 'terraform init' + } + } + stage('terraform plan phase') { + steps { + sh 'terraform plan -out $BUILD_NUMBER' + } + } + stage('terraform apply phase') { + steps { + sh 'terraform apply $BUILD_NUMBER' + } + } + + } +} From 6e561dcb72b2ea6dc2dd873a16e7f0b13c9ec876 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 5 Oct 2024 14:59:01 +0530 Subject: [PATCH 273/286] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index fc8489b3cb..98ded789ed 100644 --- a/pom.xml +++ b/pom.xml @@ -44,12 +44,12 @@ nexusRepo - http://54.147.162.17:8081/repository/mysnapshot/ + http://54.165.176.67:8081/repository/maven-snapshots/ nexusRepo - http://54.147.162.17:8081/repository/myreleases/ + http://54.165.176.67:8081/repository/maven-releases/ From a79a3cea80a6dd4f9a90643d871290911dae1f8a Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:05:03 +0530 Subject: [PATCH 274/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 98ded789ed..119a92ee92 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.12 + 8.2.13 Java Home myweb http://maven.apache.org From 1fba6b1048c7fcf8a6cc38c698f50ce778b8720e Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:10:09 +0530 Subject: [PATCH 275/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 119a92ee92..370a82a52c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.13 + 8.2.13-SNAPSHOT Java Home myweb http://maven.apache.org From 4b61a12b0b12141399dafbbb26346fc88833019f Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:24:52 +0530 Subject: [PATCH 276/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 370a82a52c..242f5969f1 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ kammana - http://54.198.233.123:9000/ + http://44.202.134.234:9000/ 1.8 1.8 From d48e3ff134a39adfa99eaf29f1168e9eb9ddbaa0 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:25:06 +0530 Subject: [PATCH 277/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 242f5969f1..be735e16f5 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.13-SNAPSHOT + 8.2.14-SNAPSHOT Java Home myweb http://maven.apache.org From 87f8ef8270bea4ad68f30c358d2de50225915eb4 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 6 Oct 2024 15:31:51 +0530 Subject: [PATCH 278/286] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index be735e16f5..ad83454ff5 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ kammana - http://44.202.134.234:9000/ + http://54.158.180.253:9000/ 1.8 1.8 @@ -44,12 +44,12 @@ nexusRepo - http://54.165.176.67:8081/repository/maven-snapshots/ + http://44.203.143.21:8081/repository/maven-snapshots/ nexusRepo - http://54.165.176.67:8081/repository/maven-releases/ + http://44.203.143.21:8081/repository/maven-releases/ From 3c6fba7d06cb0e38ec9fc31b63c02069b63066b5 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 6 Oct 2024 15:41:53 +0530 Subject: [PATCH 279/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ad83454ff5..515872f31c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.14-SNAPSHOT + 8.2.15-SNAPSHOT Java Home myweb http://maven.apache.org From c0d4e7963800a265a6185d62cba4ddaaedd22424 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 6 Oct 2024 15:48:02 +0530 Subject: [PATCH 280/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 515872f31c..d130817a53 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.15-SNAPSHOT + 8.2.16-SNAPSHOT Java Home myweb http://maven.apache.org From d1564517ecd8282bbc445ed0a03b0a3d44d091c7 Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 6 Oct 2024 15:51:54 +0530 Subject: [PATCH 281/286] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d130817a53..e553c3ec9c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ in.javahome myweb war - 8.2.16-SNAPSHOT + 8.2.17-SNAPSHOT Java Home myweb http://maven.apache.org From 79fb15e27b4965441882834c808127d9dd048c4e Mon Sep 17 00:00:00 2001 From: lakshmiprasad2019 <58114347+lakshmiprasad2019@users.noreply.github.com> Date: Sun, 6 Oct 2024 15:53:04 +0530 Subject: [PATCH 282/286] Update index.jsp --- src/main/webapp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index a36592f99e..662b7bef56 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -112,7 +112,7 @@
-

Mr. Camel

+

Mr. Rishant