From 332fcbd2e676598988295afaa1d177a7ebb09830 Mon Sep 17 00:00:00 2001 From: Mohammed Faizan Hussain <121048240+Faiz1github@users.noreply.github.com> Date: Sat, 29 Jul 2023 22:29:43 +0530 Subject: [PATCH 1/7] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index f722447..d6ca8fc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ pipeline { agent any tools { - maven 'local_maven' + maven 'Maven 3.6.3' } parameters { string(name: 'staging_server', defaultValue: '13.232.37.20', description: 'Remote Staging Server') From c4372620189b3f800f2bfe876e94aa73dc286c8c Mon Sep 17 00:00:00 2001 From: Mohammed Faizan Hussain <121048240+Faiz1github@users.noreply.github.com> Date: Sat, 29 Jul 2023 22:43:35 +0530 Subject: [PATCH 2/7] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d6ca8fc..f7f11e5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ pipeline { agent any tools { - maven 'Maven 3.6.3' + maven '3.6.3' } parameters { string(name: 'staging_server', defaultValue: '13.232.37.20', description: 'Remote Staging Server') From 0ca0dc06894917008ec545be501055b395e4f083 Mon Sep 17 00:00:00 2001 From: Mohammed Faizan Hussain <121048240+Faiz1github@users.noreply.github.com> Date: Sat, 29 Jul 2023 23:03:09 +0530 Subject: [PATCH 3/7] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index f7f11e5..5579a8f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ pipeline { agent any tools { - maven '3.6.3' + maven 'local_maven' } parameters { string(name: 'staging_server', defaultValue: '13.232.37.20', description: 'Remote Staging Server') From 94bc73310c2cea6968387c10a7917a0c755a091a Mon Sep 17 00:00:00 2001 From: Mohammed Faizan Hussain <121048240+Faiz1github@users.noreply.github.com> Date: Sun, 30 Jul 2023 12:57:40 +0530 Subject: [PATCH 4/7] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5579a8f..9fc2b20 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,7 @@ pipeline { maven 'local_maven' } parameters { - string(name: 'staging_server', defaultValue: '13.232.37.20', description: 'Remote Staging Server') + string(name: 'staging_server', defaultValue: '54.177.153.169', description: 'Remote Staging Server') } stages{ From f97ea6911b9df2207ac02a788be629a4cf618c14 Mon Sep 17 00:00:00 2001 From: Mohammed Faizan Hussain <121048240+Faiz1github@users.noreply.github.com> Date: Sun, 30 Jul 2023 13:38:36 +0530 Subject: [PATCH 5/7] Update pom.xml --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index 39400c8..2f75789 100644 --- a/pom.xml +++ b/pom.xml @@ -18,6 +18,8 @@ 1.2.13 UTF-8 UTF-8 + 1.6 + 1.6 From e49b481c1a71802638a8e9b07459dc730733cf22 Mon Sep 17 00:00:00 2001 From: Mohammed Faizan Hussain <121048240+Faiz1github@users.noreply.github.com> Date: Sun, 30 Jul 2023 20:53:04 +0530 Subject: [PATCH 6/7] Update Jenkinsfile add- --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9fc2b20..e8bcd98 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,7 +25,7 @@ stages{ parallel{ stage ("Deploy to Staging"){ steps { - sh "scp -v -o StrictHostKeyChecking=no **/*.war root@${params.staging_server}:/opt/tomcat/webapps/" + sh "scp --v -o StrictHostKeyChecking=no **/*.war root@${params.staging_server}:/opt/tomcat/webapps/" } } } From 9c1442f04b4e822712e0095c7763afaf58670c07 Mon Sep 17 00:00:00 2001 From: Mohammed Faizan Hussain <121048240+Faiz1github@users.noreply.github.com> Date: Sun, 30 Jul 2023 20:54:11 +0530 Subject: [PATCH 7/7] Update Jenkinsfile removed --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e8bcd98..9fc2b20 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,7 +25,7 @@ stages{ parallel{ stage ("Deploy to Staging"){ steps { - sh "scp --v -o StrictHostKeyChecking=no **/*.war root@${params.staging_server}:/opt/tomcat/webapps/" + sh "scp -v -o StrictHostKeyChecking=no **/*.war root@${params.staging_server}:/opt/tomcat/webapps/" } } }