From 3295c4e872a5d330445e1255f6f577d3f855ebe0 Mon Sep 17 00:00:00 2001 From: ravinder Date: Tue, 26 Dec 2023 20:00:11 +0530 Subject: [PATCH 01/30] test --- Jenkinsfile-2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index d89a3af..9cdb7f1 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -3,17 +3,17 @@ pipeline { docker { image 'liquibase/liquibase:4.4.2' } } environment { - MARIADB_CREDS=credentials('mariadb-credentials') + MARIADB_CREDS=credentials('mysql-db') } stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://192.168.32.11:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase status --url="jdbc:mysql://localhost:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } stage('Update') { steps { - sh 'liquibase update --url="jdbc:mysql://192.168.32.11:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase update --url="jdbc:mysql://localhost:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } } From 7d5e101ed64cafeef63b0e60a8c46f5f74d1f878 Mon Sep 17 00:00:00 2001 From: ravinder Date: Tue, 26 Dec 2023 20:05:59 +0530 Subject: [PATCH 02/30] test --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index 9cdb7f1..c9b461e 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://localhost:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase status --url="jdbc:mysql://localhost:3306/my_app" --changeLogFile=my_app-wrapper.xml --username="root" --password="Password@123"' } } stage('Update') { From 1f347d04195f1875a2326ea2796c83d82d9248d4 Mon Sep 17 00:00:00 2001 From: ravinder Date: Tue, 26 Dec 2023 20:19:35 +0530 Subject: [PATCH 03/30] test --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index c9b461e..15e899d 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://localhost:3306/my_app" --changeLogFile=my_app-wrapper.xml --username="root" --password="Password@123"' + sh 'liquibase status --url="jdbc:mysql://127.0.0.1:3306/my_app" --changeLogFile=my_app-wrapper.xml --username="root" --password="Password@123"' } } stage('Update') { From 0b6944c259607afa3739be37995024d9a5f54e9e Mon Sep 17 00:00:00 2001 From: ravinder Date: Tue, 26 Dec 2023 20:40:30 +0530 Subject: [PATCH 04/30] test --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index 15e899d..cae7454 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://127.0.0.1:3306/my_app" --changeLogFile=my_app-wrapper.xml --username="root" --password="Password@123"' + sh 'liquibase status --url="jdbc:mysql://localhost:3306/test" --changeLogFile=my_app-wrapper.xml --username="root" --password="Password@123"' } } stage('Update') { From 3334d463d2104346385bbcd8f60a48671ec503dc Mon Sep 17 00:00:00 2001 From: ravinder Date: Tue, 26 Dec 2023 20:44:21 +0530 Subject: [PATCH 05/30] test --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index cae7454..f82047c 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://localhost:3306/test" --changeLogFile=my_app-wrapper.xml --username="root" --password="Password@123"' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/test" --changeLogFile=my_app-wrapper.xml --username="root" --password="Password@123"' } } stage('Update') { From 29ed269c16288a15183e60cf7ecead50455032a1 Mon Sep 17 00:00:00 2001 From: ravinder Date: Tue, 26 Dec 2023 20:48:18 +0530 Subject: [PATCH 06/30] test --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index f82047c..c43d3eb 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/test" --changeLogFile=my_app-wrapper.xml --username="root" --password="Password@123"' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } stage('Update') { From 643eae4b9be619dd11ae33c34991762041220bf0 Mon Sep 17 00:00:00 2001 From: ravinder Date: Tue, 26 Dec 2023 20:49:02 +0530 Subject: [PATCH 07/30] test --- my_app-wrapper.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/my_app-wrapper.xml b/my_app-wrapper.xml index f0194e9..060dd91 100644 --- a/my_app-wrapper.xml +++ b/my_app-wrapper.xml @@ -11,5 +11,4 @@ http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd"> - \ No newline at end of file From dd8cd9f5254a84c7e6f630bf55a1eab80e18d924 Mon Sep 17 00:00:00 2001 From: ravinder Date: Tue, 26 Dec 2023 20:54:02 +0530 Subject: [PATCH 08/30] test --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index c43d3eb..fbedef0 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW --log-level' } } stage('Update') { From 74b457a4e112bc0ec10c47998387422ac5932453 Mon Sep 17 00:00:00 2001 From: ravinder Date: Tue, 26 Dec 2023 20:55:47 +0530 Subject: [PATCH 09/30] test --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index fbedef0..b73a3e4 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW --log-level' + sh 'liquibase status --log-level --url="jdbc:mysql://54.179.224.147:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } stage('Update') { From ab4f0a862454949138511b8266bd5ac552c10eb9 Mon Sep 17 00:00:00 2001 From: ravinder Date: Tue, 26 Dec 2023 20:56:25 +0530 Subject: [PATCH 10/30] test --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index b73a3e4..45fb953 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --log-level --url="jdbc:mysql://54.179.224.147:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase status --log --url="jdbc:mysql://54.179.224.147:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } stage('Update') { From ee15911a79b4694e19dd1aa9a6ad7923e093b57f Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Tue, 26 Dec 2023 20:57:10 +0530 Subject: [PATCH 11/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index 45fb953..838efbb 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --log --url="jdbc:mysql://54.179.224.147:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } stage('Update') { @@ -22,4 +22,4 @@ pipeline { cleanWs() } } -} \ No newline at end of file +} From 38bc01ab38e771abfe6ed9613bfc91c9a5e34316 Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Tue, 26 Dec 2023 21:14:06 +0530 Subject: [PATCH 12/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index 838efbb..e639b62 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=liquibase --password=passworD@123' } } stage('Update') { From 3ea4adab00746d59a8b532bc742d60ac4f9d238d Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Tue, 26 Dec 2023 21:17:49 +0530 Subject: [PATCH 13/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index e639b62..2a8ac2a 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=liquibase --password=passworD@123' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306?autoReconnect=true"&"useSSL=false/my_app" --changeLogFile=my_app-wrapper.xml --username=liquibase --password=passworD@123' } } stage('Update') { From 4282ee16e94e206f11f2ddaac3cdbae70f76a72e Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Tue, 26 Dec 2023 21:20:15 +0530 Subject: [PATCH 14/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index 2a8ac2a..06380bf 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306?autoReconnect=true"&"useSSL=false/my_app" --changeLogFile=my_app-wrapper.xml --username=liquibase --password=passworD@123' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306?useSSL=false/my_app" --changeLogFile=my_app-wrapper.xml --username=liquibase --password=passworD@123' } } stage('Update') { From 5a629031dfe52d791c03cfa9da64eb06654cc8ba Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Tue, 26 Dec 2023 21:21:05 +0530 Subject: [PATCH 15/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index 06380bf..4a401ef 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306?useSSL=false/my_app" --changeLogFile=my_app-wrapper.xml --username=liquibase --password=passworD@123' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?useSSL=false" --changeLogFile=my_app-wrapper.xml --username=liquibase --password=passworD@123' } } stage('Update') { From 44ff272d965bdb21c8f45155c4e229155800d172 Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Tue, 26 Dec 2023 21:27:28 +0530 Subject: [PATCH 16/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index 4a401ef..edcae40 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?useSSL=false" --changeLogFile=my_app-wrapper.xml --username=liquibase --password=passworD@123' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true"&"useSSL=false" --changeLogFile=my_app-wrapper.xml --username=liquibase --password=passworD@123' } } stage('Update') { From b43e039dc629a83ddf9fed6488ead2a085505f86 Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Tue, 26 Dec 2023 21:29:59 +0530 Subject: [PATCH 17/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index edcae40..2b5c521 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -13,7 +13,7 @@ pipeline { } stage('Update') { steps { - sh 'liquibase update --url="jdbc:mysql://localhost:3306/my_app" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase update --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true"&"useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } } From 6a4bc763296ffe1190c97b4b511418191bcef086 Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Tue, 26 Dec 2023 21:30:45 +0530 Subject: [PATCH 18/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index 2b5c521..e807e31 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,12 +8,12 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true"&"useSSL=false" --changeLogFile=my_app-wrapper.xml --username=liquibase --password=passworD@123' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true" --changeLogFile=my_app-wrapper.xml --username=liquibase --password=passworD@123' } } stage('Update') { steps { - sh 'liquibase update --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true"&"useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase update --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } } From a6f25bc907462787cdbdab2410adcc9ebabbf378 Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Tue, 26 Dec 2023 21:43:30 +0530 Subject: [PATCH 19/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index e807e31..20d55c4 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true" --changeLogFile=my_app-wrapper.xml --username=liquibase --password=passworD@123' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true'&'useSSL=false" --changeLogFile=my_app-wrapper.xml --username=liquibase --password=passworD@123' } } stage('Update') { From 3a2d5e352c39b9e287caaab9c10ddb46ed588757 Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Tue, 26 Dec 2023 21:47:11 +0530 Subject: [PATCH 20/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index 20d55c4..89da77f 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,12 +8,12 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true'&'useSSL=false" --changeLogFile=my_app-wrapper.xml --username=liquibase --password=passworD@123' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true'&'useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } stage('Update') { steps { - sh 'liquibase update --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase update --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true'&'useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } } From 10423cfbb9bbf48bff28943e6e31b2a19dc745cf Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Tue, 26 Dec 2023 21:48:26 +0530 Subject: [PATCH 21/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index 89da77f..e72f098 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -8,7 +8,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true'&'useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true&useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } stage('Update') { From 5252b30af5fcfb4f2f5991712cb5403354c0d3e0 Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Wed, 27 Dec 2023 13:41:34 +0530 Subject: [PATCH 22/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index e72f098..315a8e3 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -1,7 +1,5 @@ pipeline { - agent { - docker { image 'liquibase/liquibase:4.4.2' } - } + agent any environment { MARIADB_CREDS=credentials('mysql-db') } From 1221fb1fc50dedb45a3d89eea9b104d9d7cd8be1 Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Wed, 27 Dec 2023 13:43:49 +0530 Subject: [PATCH 23/30] Update Jenkinsfile-1 --- Jenkinsfile-1 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile-1 b/Jenkinsfile-1 index e5e6301..d5c2c6b 100644 --- a/Jenkinsfile-1 +++ b/Jenkinsfile-1 @@ -1,7 +1,5 @@ pipeline { - agent { - docker { image 'liquibase/liquibase:4.4.2' } - } + agent any stages { stage('Test') { steps { @@ -9,4 +7,4 @@ pipeline { } } } -} \ No newline at end of file +} From fff1d297e4e8259b650766ae06a39b860fb892af Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Wed, 27 Dec 2023 13:45:08 +0530 Subject: [PATCH 24/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index 315a8e3..30b9b37 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -6,12 +6,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true&useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' - } - } - stage('Update') { - steps { - sh 'liquibase update --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true'&'useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase status --url="jdbc:mysql://127.0.0.1:3306/my_app?autoReconnect=true&useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } } From 8fbfe44924011a0a05c3e629714beefe4ec8d5cd Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Wed, 27 Dec 2023 22:13:56 +0530 Subject: [PATCH 25/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index 30b9b37..315a8e3 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -6,7 +6,12 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://127.0.0.1:3306/my_app?autoReconnect=true&useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true&useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + } + } + stage('Update') { + steps { + sh 'liquibase update --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true'&'useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } } From 32f6ec6b1f7cb7c3fd32f864ea19d1d9d8fd7d2d Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Wed, 27 Dec 2023 22:18:58 +0530 Subject: [PATCH 26/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index 315a8e3..7b68134 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -6,7 +6,7 @@ pipeline { stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true&useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true&useSSL=false" --changeLogFile=my_app-wrapper.xml --driver=com.mysql.jdbc.Driver --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } stage('Update') { From 730d69be194f9e518e8948171178cf9e4bc3fe0c Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Wed, 27 Dec 2023 22:50:20 +0530 Subject: [PATCH 27/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index 7b68134..d19f522 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -1,12 +1,13 @@ pipeline { - agent any + docker { image 'liquibase/liquibase:4.4.2' } + } environment { MARIADB_CREDS=credentials('mysql-db') } stages { stage('Status') { steps { - sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true&useSSL=false" --changeLogFile=my_app-wrapper.xml --driver=com.mysql.jdbc.Driver --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase status --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true&useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } stage('Update') { From f2789cae26a442302de52ecc8a625e7a3d17b051 Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Wed, 27 Dec 2023 22:52:00 +0530 Subject: [PATCH 28/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index d19f522..e72f098 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -1,5 +1,6 @@ pipeline { - docker { image 'liquibase/liquibase:4.4.2' } + agent { + docker { image 'liquibase/liquibase:4.4.2' } } environment { MARIADB_CREDS=credentials('mysql-db') From 13d5b7d968b36c5dce46e8c9eff07ca251347a9d Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Wed, 27 Dec 2023 22:54:35 +0530 Subject: [PATCH 29/30] Update Jenkinsfile-2 --- Jenkinsfile-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index e72f098..252e9c5 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -13,7 +13,7 @@ pipeline { } stage('Update') { steps { - sh 'liquibase update --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true'&'useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' + sh 'liquibase update --url="jdbc:mysql://54.179.224.147:3306/my_app?autoReconnect=true&useSSL=false" --changeLogFile=my_app-wrapper.xml --username=$MARIADB_CREDS_USR --password=$MARIADB_CREDS_PSW' } } } From bd9de810f41ebc2070b8c55d496c436f8143fa46 Mon Sep 17 00:00:00 2001 From: raviravs04 <104754788+raviravs04@users.noreply.github.com> Date: Thu, 28 Dec 2023 12:47:27 +0530 Subject: [PATCH 30/30] Update my_app-wrapper.xml --- my_app-wrapper.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/my_app-wrapper.xml b/my_app-wrapper.xml index 060dd91..b5f462a 100644 --- a/my_app-wrapper.xml +++ b/my_app-wrapper.xml @@ -11,4 +11,5 @@ http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd"> - \ No newline at end of file + +