From 947a740f86015e3c6071a6d6069917eff10ba496 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Tue, 14 Feb 2023 20:03:52 +0530 Subject: [PATCH 001/113] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..3f3ecca6f --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,16 @@ +--- +pool: + name: azurepipeline + Vmimage: ubuntu-latest +trigger: + - main +jobs: + - job: package + displayName: build the package + steps: + - task: Maven@3 + inputs: + mavenPOMFile: 'pom.xml' + goals: 'package' + testResultsFiles: '**/surefire-reports/TEST-*.xml' + JDKVersion: '1.17' From 352b0b1edeb06ac3b67b4af85a66460f29740417 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Tue, 14 Feb 2023 20:05:21 +0530 Subject: [PATCH 002/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3f3ecca6f..e97f8f5ca 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,6 +1,6 @@ --- pool: - name: azurepipeline + name: Azure Pipeline Vmimage: ubuntu-latest trigger: - main From 7957c2e9e34770aa8c6d6f366da31acaff3b25e5 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Tue, 14 Feb 2023 20:09:54 +0530 Subject: [PATCH 003/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e97f8f5ca..7742a031f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,6 +1,6 @@ --- pool: - name: Azure Pipeline + name: Azure Pipelines Vmimage: ubuntu-latest trigger: - main From 76c0f3b09d9ada0c5d7a6fc8a1a7d19f48cd6844 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 16 Feb 2023 16:50:12 +0530 Subject: [PATCH 004/113] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-1.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 azure-pipelines-1.yml diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml new file mode 100644 index 000000000..268c931fb --- /dev/null +++ b/azure-pipelines-1.yml @@ -0,0 +1,13 @@ +--- +pool: + name: Default +trigger: + - main +steps: + - task: Maven@3 + inputs: + mavenPOMFile: 'pom.xml' + publishJUnitResults: true + testResultsFiles: '**/surefire-reports/TEST-*.xml' + JDKVersion: '1.17' + goals: 'package' \ No newline at end of file From cca1f4350ebb592b745fe578067637fc1dfdefd5 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 16 Feb 2023 16:55:53 +0530 Subject: [PATCH 005/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index 268c931fb..cbd12678f 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -1,13 +1,15 @@ --- -pool: +pool: name: Default trigger: - main -steps: - - task: Maven@3 - inputs: - mavenPOMFile: 'pom.xml' - publishJUnitResults: true - testResultsFiles: '**/surefire-reports/TEST-*.xml' - JDKVersion: '1.17' - goals: 'package' \ No newline at end of file +jobs: + - job: package + displayName: build the package + steps: + - task: Maven@3 + inputs: + mavenPOMFile: 'pom.xml' + goals: 'package' + testResultsFiles: '**/surefire-reports/TEST-*.xml' + JDKVersion: '1.17' \ No newline at end of file From 6f8a417abe3f508140610ca860880144ef1ee333 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 16 Feb 2023 16:58:46 +0530 Subject: [PATCH 006/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index cbd12678f..4643c623a 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -4,6 +4,14 @@ pool: trigger: - main jobs: + - job: + steps: + - step: + script: + - sudo apt update + - sudo apt install maven -y + - sudo apt install git -y + - job: package displayName: build the package steps: From 7faa7ed4655adbfe2634d58dc74e18beb91afb96 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 16 Feb 2023 17:03:42 +0530 Subject: [PATCH 007/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index 4643c623a..5847dc074 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -5,12 +5,10 @@ trigger: - main jobs: - job: - steps: - - step: - script: - - sudo apt update - - sudo apt install maven -y - - sudo apt install git -y + steps: + - script: sudo apt update + - script: sudo apt install maven -y + - script: sudo apt install git -y - job: package displayName: build the package From 45cdf5721282dab7a4325091258a6be572ae2f03 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 16 Feb 2023 17:11:01 +0530 Subject: [PATCH 008/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index 5847dc074..3d3389349 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -16,6 +16,8 @@ jobs: - task: Maven@3 inputs: mavenPOMFile: 'pom.xml' + publishJUnitResults: true goals: 'package' testResultsFiles: '**/surefire-reports/TEST-*.xml' - JDKVersion: '1.17' \ No newline at end of file + jdkVersionOption: '1.17' + mavenDirectory: spring-petclinic From 7bbbfe8c5f59dd9c188afd13bb67dae2bfc47233 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 16 Feb 2023 17:13:26 +0530 Subject: [PATCH 009/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index 3d3389349..bd49bc633 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -1,6 +1,6 @@ --- pool: - name: Default + name: ubuntu-latest trigger: - main jobs: From 1a3c8e90bab1e9c324218862183670ce7f4e5a96 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 16 Feb 2023 18:20:14 +0530 Subject: [PATCH 010/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7742a031f..3f231b267 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,7 +1,6 @@ --- pool: - name: Azure Pipelines - Vmimage: ubuntu-latest + name: default trigger: - main jobs: @@ -13,4 +12,5 @@ jobs: mavenPOMFile: 'pom.xml' goals: 'package' testResultsFiles: '**/surefire-reports/TEST-*.xml' - JDKVersion: '1.17' + javaHomeOption: 'Path' + jdkDirectory: /usr/java From 6b97b3088d72d0d936e1a1c87ab4475c4570925b Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 16 Feb 2023 18:23:02 +0530 Subject: [PATCH 011/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3f231b267..1588b5294 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,5 +12,6 @@ jobs: mavenPOMFile: 'pom.xml' goals: 'package' testResultsFiles: '**/surefire-reports/TEST-*.xml' + JDKVersion: '1.17' javaHomeOption: 'Path' jdkDirectory: /usr/java From 66c713eb6b4bc6ad05ba3049864ac77ecf82871f Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 16 Feb 2023 18:24:08 +0530 Subject: [PATCH 012/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1588b5294..11c7d214b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -14,4 +14,4 @@ jobs: testResultsFiles: '**/surefire-reports/TEST-*.xml' JDKVersion: '1.17' javaHomeOption: 'Path' - jdkDirectory: /usr/java + jdkDirectory: /usr/lib/jvm/openjdk-17 \ No newline at end of file From 4ebc055c6c255e224090182dc92b48724e86b844 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 16 Feb 2023 21:55:11 +0530 Subject: [PATCH 013/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index bd49bc633..220eb41f1 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -5,13 +5,16 @@ trigger: - main jobs: - job: + displayName: installrequred steps: - script: sudo apt update - script: sudo apt install maven -y - script: sudo apt install git -y + - script: sudo apt install openjdk-17-jdk -y - job: package displayName: build the package + dependsOn: installrequred steps: - task: Maven@3 inputs: @@ -19,5 +22,6 @@ jobs: publishJUnitResults: true goals: 'package' testResultsFiles: '**/surefire-reports/TEST-*.xml' + jdkDirectory: /usr/lib/jvm/openjdk-17 jdkVersionOption: '1.17' mavenDirectory: spring-petclinic From 7d8575ce56e22873f5f2b5d07a8dfe00d987694d Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 16 Feb 2023 22:15:16 +0530 Subject: [PATCH 014/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 42 ++++++++++++++++++------------------------ 1 file changed, 18 insertions(+), 24 deletions(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index 220eb41f1..8e3192cda 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -1,27 +1,21 @@ --- -pool: - name: ubuntu-latest +pool: + name: Default trigger: - main -jobs: - - job: - displayName: installrequred - steps: - - script: sudo apt update - - script: sudo apt install maven -y - - script: sudo apt install git -y - - script: sudo apt install openjdk-17-jdk -y - - - job: package - displayName: build the package - dependsOn: installrequred - steps: - - task: Maven@3 - inputs: - mavenPOMFile: 'pom.xml' - publishJUnitResults: true - goals: 'package' - testResultsFiles: '**/surefire-reports/TEST-*.xml' - jdkDirectory: /usr/lib/jvm/openjdk-17 - jdkVersionOption: '1.17' - mavenDirectory: spring-petclinic +steps: + - script: sudo apt update + - script: sudo apt install openjdk-17-jdk -y + - script: sudo apt install maven -y + - script: sudo apt install git -y + - task: Maven@3 + inputs: + mavenPOMFile: 'pom.xml' + publishJUnitResults: true + goals: 'package' + testResultsFiles: '**/surefire-reports/TEST-*.xml' + jdkDirectory: /usr/lib/jvm/openjdk-17 + jdkVersionOption: '1.17' + mavenDirectory: /home/ubuntu/spring-petclinic + + \ No newline at end of file From eb389236dffb3ef45e1da741308511a2c5bb1267 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 16 Feb 2023 22:20:36 +0530 Subject: [PATCH 015/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index 8e3192cda..be5e7a78e 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -14,8 +14,7 @@ steps: publishJUnitResults: true goals: 'package' testResultsFiles: '**/surefire-reports/TEST-*.xml' - jdkDirectory: /usr/lib/jvm/openjdk-17 - jdkVersionOption: '1.17' + jdkDirectory: /usr/lib/jvm/ mavenDirectory: /home/ubuntu/spring-petclinic \ No newline at end of file From 243d3ba80f22e821d5d2c11b16c18360eac27f61 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 16 Feb 2023 22:23:23 +0530 Subject: [PATCH 016/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index be5e7a78e..a3717b445 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -14,7 +14,7 @@ steps: publishJUnitResults: true goals: 'package' testResultsFiles: '**/surefire-reports/TEST-*.xml' - jdkDirectory: /usr/lib/jvm/ + jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenDirectory: /home/ubuntu/spring-petclinic \ No newline at end of file From 6fb86603d9f5d3ef566351f2b7ba50c13ceeb153 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 17 Feb 2023 10:11:41 +0530 Subject: [PATCH 017/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index a3717b445..2ceaedf6b 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -14,7 +14,7 @@ steps: publishJUnitResults: true goals: 'package' testResultsFiles: '**/surefire-reports/TEST-*.xml' - jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 + jdkDirectory: /usr/lib/jvm/java-1.17 mavenDirectory: /home/ubuntu/spring-petclinic \ No newline at end of file From 02e0d5c6fdc630368294251ac07554858140441b Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 17 Feb 2023 10:52:28 +0530 Subject: [PATCH 018/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index 2ceaedf6b..5d178b363 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -14,7 +14,8 @@ steps: publishJUnitResults: true goals: 'package' testResultsFiles: '**/surefire-reports/TEST-*.xml' - jdkDirectory: /usr/lib/jvm/java-1.17 + jdkDirectory: /usr/lib/jvm/java-1.17.0-openjdk-amd64 + jdkVersionOption: '1.17' mavenDirectory: /home/ubuntu/spring-petclinic \ No newline at end of file From dea3b3015da7dc345fe7744f3ce49c4117b681db Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 17 Feb 2023 11:26:23 +0530 Subject: [PATCH 019/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index 5d178b363..c556df2e4 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -15,7 +15,6 @@ steps: goals: 'package' testResultsFiles: '**/surefire-reports/TEST-*.xml' jdkDirectory: /usr/lib/jvm/java-1.17.0-openjdk-amd64 - jdkVersionOption: '1.17' mavenDirectory: /home/ubuntu/spring-petclinic \ No newline at end of file From f88d1c7b355120867d1d1b5a83344c160f6be94d Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 17 Feb 2023 11:29:56 +0530 Subject: [PATCH 020/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index c556df2e4..ac071ea4b 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -14,6 +14,7 @@ steps: publishJUnitResults: true goals: 'package' testResultsFiles: '**/surefire-reports/TEST-*.xml' + javaHomeOption: 'Path' jdkDirectory: /usr/lib/jvm/java-1.17.0-openjdk-amd64 mavenDirectory: /home/ubuntu/spring-petclinic From 6f89218dedf7bfe384af8278f35f97162cc68142 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 17 Feb 2023 11:32:42 +0530 Subject: [PATCH 021/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index ac071ea4b..a71a65a1c 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -16,6 +16,5 @@ steps: testResultsFiles: '**/surefire-reports/TEST-*.xml' javaHomeOption: 'Path' jdkDirectory: /usr/lib/jvm/java-1.17.0-openjdk-amd64 - mavenDirectory: /home/ubuntu/spring-petclinic \ No newline at end of file From b3b4cc4c88b736e53665efe6f7c79b50c3cb917a Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 17 Feb 2023 11:36:17 +0530 Subject: [PATCH 022/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index a71a65a1c..5ade3323a 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -15,6 +15,6 @@ steps: goals: 'package' testResultsFiles: '**/surefire-reports/TEST-*.xml' javaHomeOption: 'Path' - jdkDirectory: /usr/lib/jvm/java-1.17.0-openjdk-amd64 + jdkDirectory: /home/ubuntu/usr/lib/jvm/java-17-openjdk-amd64 \ No newline at end of file From 9284485d4a4e1c916892b3251788fd9b1d5ea575 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 17 Feb 2023 11:38:52 +0530 Subject: [PATCH 023/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index 5ade3323a..68eae07c0 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -15,6 +15,7 @@ steps: goals: 'package' testResultsFiles: '**/surefire-reports/TEST-*.xml' javaHomeOption: 'Path' - jdkDirectory: /home/ubuntu/usr/lib/jvm/java-17-openjdk-amd64 + jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 + mavenDirectory: /home/ubuntu/spring-petclinic \ No newline at end of file From 34ff885ec2e06e1c860f27fe9941bb4bf7a530ae Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 17 Feb 2023 11:43:52 +0530 Subject: [PATCH 024/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index 68eae07c0..560716ae6 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -16,6 +16,8 @@ steps: testResultsFiles: '**/surefire-reports/TEST-*.xml' javaHomeOption: 'Path' jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 - mavenDirectory: /home/ubuntu/spring-petclinic + mavenVersionOption: 'path' + mavenDirectory: /home/ubuntu/Kiranteja623/spring-petclinic + \ No newline at end of file From 9eb6446ed106f609c0609317bd1bb09fcb80c626 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 17 Feb 2023 11:47:33 +0530 Subject: [PATCH 025/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index 560716ae6..460cf747a 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -17,7 +17,7 @@ steps: javaHomeOption: 'Path' jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenVersionOption: 'path' - mavenDirectory: /home/ubuntu/Kiranteja623/spring-petclinic + mavenDirectory: /home/ubuntu/spring-petclinic \ No newline at end of file From 3709a87bd8d0108edeca84b108b8c0ea0cfa4bd9 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 17 Feb 2023 14:11:09 +0530 Subject: [PATCH 026/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index 460cf747a..df397b586 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -4,20 +4,8 @@ pool: trigger: - main steps: - - script: sudo apt update - - script: sudo apt install openjdk-17-jdk -y - - script: sudo apt install maven -y - - script: sudo apt install git -y - - task: Maven@3 - inputs: - mavenPOMFile: 'pom.xml' - publishJUnitResults: true - goals: 'package' - testResultsFiles: '**/surefire-reports/TEST-*.xml' - javaHomeOption: 'Path' - jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 - mavenVersionOption: 'path' - mavenDirectory: /home/ubuntu/spring-petclinic + - script: echo ${ Build.ArtifactStagingDirectory } + \ No newline at end of file From a12f3b23c1d09933e7ff23e31a21df482ab802f0 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 17 Feb 2023 14:13:28 +0530 Subject: [PATCH 027/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index df397b586..3544565be 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -4,7 +4,7 @@ pool: trigger: - main steps: - - script: echo ${ Build.ArtifactStagingDirectory } + - script: echo $(Build.ArtifactStagingDirectory) From 34505f0d40c11418c879fd0fadb434f8448d4ed3 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 17 Feb 2023 14:22:55 +0530 Subject: [PATCH 028/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index 3544565be..a5c9ce86c 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -4,7 +4,7 @@ pool: trigger: - main steps: - - script: echo $(Build.ArtifactStagingDirectory) + - script: echo $(Build.Repository.LocalPath) From 6a8d927f7267e052770fc69fa4d8158b3a5b274b Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 17 Feb 2023 15:02:51 +0530 Subject: [PATCH 029/113] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index a5c9ce86c..3544565be 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -4,7 +4,7 @@ pool: trigger: - main steps: - - script: echo $(Build.Repository.LocalPath) + - script: echo $(Build.ArtifactStagingDirectory) From f2cea327f8b85192ed6d87c9bf5e7c3753c17bcd Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 17 Feb 2023 15:28:34 +0530 Subject: [PATCH 030/113] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 11c7d214b..5f9df897f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,17 +1,20 @@ --- -pool: - name: default +pool: + name: Default trigger: - main -jobs: - - job: package - displayName: build the package - steps: - - task: Maven@3 - inputs: - mavenPOMFile: 'pom.xml' - goals: 'package' - testResultsFiles: '**/surefire-reports/TEST-*.xml' - JDKVersion: '1.17' - javaHomeOption: 'Path' - jdkDirectory: /usr/lib/jvm/openjdk-17 \ No newline at end of file +steps: + - script: sudo apt update + - script: sudo apt install openjdk-17-jdk -y + - script: sudo apt install maven -y + - script: sudo apt install git -y + - task: Maven@3 + inputs: + mavenPOMFile: 'pom.xml' + publishJUnitResults: true + goals: 'package' + testResultsFiles: '**/surefire-reports/TEST-*.xml' + javaHomeOption: 'Path' + jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 + mavenVersionOption: 'path' + mavenDirectory: /home/ubuntu/spring-petclinic \ No newline at end of file From b67e2feced7a439a5ed0f8e4b0fa2764e3e5162e Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 11:27:20 +0530 Subject: [PATCH 031/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5f9df897f..1b91194da 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,4 +17,6 @@ steps: javaHomeOption: 'Path' jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenVersionOption: 'path' - mavenDirectory: /home/ubuntu/spring-petclinic \ No newline at end of file + mavenDirectory: /home/ubuntu/spring-petclinic + - script: aws s3 mb s3://spcfeb17 + - script: aws s3 cp $(Agent.WorkFolder)/3/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb17 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From 547beca1ce449fcbcaf89223e3cb914563b84fb6 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 11:30:30 +0530 Subject: [PATCH 032/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1b91194da..03e3d7946 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,6 +8,8 @@ steps: - script: sudo apt install openjdk-17-jdk -y - script: sudo apt install maven -y - script: sudo apt install git -y + - script: aws s3 mb s3://spcfeb17 + - script: aws s3 cp $(Agent.WorkFolder)/3/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb17 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive - task: Maven@3 inputs: mavenPOMFile: 'pom.xml' @@ -18,5 +20,4 @@ steps: jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenVersionOption: 'path' mavenDirectory: /home/ubuntu/spring-petclinic - - script: aws s3 mb s3://spcfeb17 - - script: aws s3 cp $(Agent.WorkFolder)/3/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb17 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file + \ No newline at end of file From 91099ee5181d73ed81f84132ab7a8214e7be0a18 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 11:36:05 +0530 Subject: [PATCH 033/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 03e3d7946..6b1f14072 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,8 +8,8 @@ steps: - script: sudo apt install openjdk-17-jdk -y - script: sudo apt install maven -y - script: sudo apt install git -y - - script: aws s3 mb s3://spcfeb17 - - script: aws s3 cp $(Agent.WorkFolder)/3/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb17 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive + - script: aws s3 mb s3://spcfeb18 + - script: aws s3 cp $(Agent.WorkFolder)/3/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive - task: Maven@3 inputs: mavenPOMFile: 'pom.xml' From 4eb3e0b966e624d2c3bd1e86538deb1229c051af Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 11:42:55 +0530 Subject: [PATCH 034/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6b1f14072..65718e847 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,7 +9,7 @@ steps: - script: sudo apt install maven -y - script: sudo apt install git -y - script: aws s3 mb s3://spcfeb18 - - script: aws s3 cp $(Agent.WorkFolder)/3/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive + - script: aws s3 cp $(Agent.WorkFolder)/3/s/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive - task: Maven@3 inputs: mavenPOMFile: 'pom.xml' From c98d92f5ef82c8cb9990e41060234877d2584d76 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 11:45:35 +0530 Subject: [PATCH 035/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 65718e847..a5cbeebae 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,7 +8,6 @@ steps: - script: sudo apt install openjdk-17-jdk -y - script: sudo apt install maven -y - script: sudo apt install git -y - - script: aws s3 mb s3://spcfeb18 - script: aws s3 cp $(Agent.WorkFolder)/3/s/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive - task: Maven@3 inputs: From 5db7d8b09f0250443073289257ed7c2cf5b11592 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 14:39:51 +0530 Subject: [PATCH 036/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a5cbeebae..9bf468746 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,7 +8,6 @@ steps: - script: sudo apt install openjdk-17-jdk -y - script: sudo apt install maven -y - script: sudo apt install git -y - - script: aws s3 cp $(Agent.WorkFolder)/3/s/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive - task: Maven@3 inputs: mavenPOMFile: 'pom.xml' From 1ca30bd518503a3c6ff95857b7693532a5ada708 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 14:44:40 +0530 Subject: [PATCH 037/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9bf468746..3d3a4922c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,4 +18,4 @@ steps: jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenVersionOption: 'path' mavenDirectory: /home/ubuntu/spring-petclinic - \ No newline at end of file + - script: aws s3 cp $(Agent.WorkFolder)/2/s/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From a0bb466efc5e9753fc05749ae23a3c84077525e6 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 14:46:29 +0530 Subject: [PATCH 038/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3d3a4922c..78c4c336d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,6 +8,7 @@ steps: - script: sudo apt install openjdk-17-jdk -y - script: sudo apt install maven -y - script: sudo apt install git -y + - script: aws s3 cp $(Agent.WorkFolder)/2/s/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive - task: Maven@3 inputs: mavenPOMFile: 'pom.xml' @@ -18,4 +19,3 @@ steps: jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenVersionOption: 'path' mavenDirectory: /home/ubuntu/spring-petclinic - - script: aws s3 cp $(Agent.WorkFolder)/2/s/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From 80652951ec747e3a88af242af6818bf3f298c90f Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 14:55:50 +0530 Subject: [PATCH 039/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 78c4c336d..2ad8b2ae4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,19 +3,24 @@ pool: name: Default trigger: - main -steps: - - script: sudo apt update - - script: sudo apt install openjdk-17-jdk -y - - script: sudo apt install maven -y - - script: sudo apt install git -y - - script: aws s3 cp $(Agent.WorkFolder)/2/s/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive - - task: Maven@3 - inputs: - mavenPOMFile: 'pom.xml' - publishJUnitResults: true - goals: 'package' - testResultsFiles: '**/surefire-reports/TEST-*.xml' - javaHomeOption: 'Path' - jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 - mavenVersionOption: 'path' - mavenDirectory: /home/ubuntu/spring-petclinic +jobs: + - job: myjob + steps: + - script: sudo apt update + - script: sudo apt install openjdk-17-jdk -y + - script: sudo apt install maven -y + - script: sudo apt install git -y + - task: Maven@3 + inputs: + mavenPOMFile: 'pom.xml' + publishJUnitResults: true + goals: 'package' + testResultsFiles: '**/surefire-reports/TEST-*.xml' + javaHomeOption: 'Path' + jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 + mavenVersionOption: 'path' + mavenDirectory: /home/ubuntu/spring-petclinic + - job: script + steps: + - script: aws s3 cp $(Agent.WorkFolder)/3/s/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive + \ No newline at end of file From a817520e006aeae7e71799dc2a497eeac8ffd191 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 15:00:50 +0530 Subject: [PATCH 040/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2ad8b2ae4..4c5ea9be6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,6 +21,7 @@ jobs: mavenVersionOption: 'path' mavenDirectory: /home/ubuntu/spring-petclinic - job: script + dependsOn: myjob steps: - script: aws s3 cp $(Agent.WorkFolder)/3/s/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From b579e590503e8cd021bfa6867f99794dd4e3a70c Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 15:07:09 +0530 Subject: [PATCH 041/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4c5ea9be6..ebe68538a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,6 +5,7 @@ trigger: - main jobs: - job: myjob + displayName: myjob steps: - script: sudo apt update - script: sudo apt install openjdk-17-jdk -y From b774f14abfdd52f989d2ea5e1aee196ac03ca9a3 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 21:54:27 +0530 Subject: [PATCH 042/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ebe68538a..623947587 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,8 +21,4 @@ jobs: jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenVersionOption: 'path' mavenDirectory: /home/ubuntu/spring-petclinic - - job: script - dependsOn: myjob - steps: - - script: aws s3 cp $(Agent.WorkFolder)/3/s/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From fb1211adea905113bec6a1ae55b332af13c7cab6 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 22:07:13 +0530 Subject: [PATCH 043/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 623947587..c01e86d2c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,4 +21,8 @@ jobs: jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenVersionOption: 'path' mavenDirectory: /home/ubuntu/spring-petclinic - \ No newline at end of file + - job: script + displayName: script + dependsOn: myjob + steps: + - script: aws s3 cp /home/ubuntu/myagent/_work/2/s/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From 85cb678ede3f402f6c10a313eb9d94f25550704e Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 22:09:01 +0530 Subject: [PATCH 044/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c01e86d2c..6e0fa014e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,4 +25,4 @@ jobs: displayName: script dependsOn: myjob steps: - - script: aws s3 cp /home/ubuntu/myagent/_work/2/s/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file + - script: aws s3 cp /home/ubuntu/myagent/_work/2/s/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From 6b625e0fc59ba022e497a4e5725140637b426c0a Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 22:14:31 +0530 Subject: [PATCH 045/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6e0fa014e..e2beb4989 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,4 +25,4 @@ jobs: displayName: script dependsOn: myjob steps: - - script: aws s3 cp /home/ubuntu/myagent/_work/2/s/target/spring-petclinic-3.0.0-SNAPSHOT.jar s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file + - script: aws s3 cp /home/ubuntu/myagent/_work/2/s/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From 9ceb5f7e396c999201d3fc7fd0791159b6dcfe19 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 22:21:47 +0530 Subject: [PATCH 046/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e2beb4989..df6b03285 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,4 +25,4 @@ jobs: displayName: script dependsOn: myjob steps: - - script: aws s3 cp /home/ubuntu/myagent/_work/2/s/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file + - script: aws s3 cp $(Build.ArtifactStagingDirectory)/s/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From c479bd79a02949b25126797b270329ff737c8167 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 22:26:14 +0530 Subject: [PATCH 047/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index df6b03285..e2beb4989 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,4 +25,4 @@ jobs: displayName: script dependsOn: myjob steps: - - script: aws s3 cp $(Build.ArtifactStagingDirectory)/s/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file + - script: aws s3 cp /home/ubuntu/myagent/_work/2/s/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From dcb2d294782231fb246cccad609cc8d761e245d9 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 22:35:00 +0530 Subject: [PATCH 048/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e2beb4989..df6b03285 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,4 +25,4 @@ jobs: displayName: script dependsOn: myjob steps: - - script: aws s3 cp /home/ubuntu/myagent/_work/2/s/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file + - script: aws s3 cp $(Build.ArtifactStagingDirectory)/s/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From 7ac6d7e882e2dd33a8d0c7e9aa3885399e85a654 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 18 Feb 2023 22:39:31 +0530 Subject: [PATCH 049/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index df6b03285..5db9b1db2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,4 +25,4 @@ jobs: displayName: script dependsOn: myjob steps: - - script: aws s3 cp $(Build.ArtifactStagingDirectory)/s/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file + - script: aws s3 cp $(Build.Repository.LocalPath)/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From 04d22a5052b664f1c3c70cf288f9dd7a7e0adcb3 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sun, 19 Feb 2023 11:20:46 +0530 Subject: [PATCH 050/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5db9b1db2..22e8383ee 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,4 +25,4 @@ jobs: displayName: script dependsOn: myjob steps: - - script: aws s3 cp $(Build.Repository.LocalPath)/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file + - script: aws s3 cp $(Pipeline.Workspace)/s/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From 05ae52b053cdb4a439c75769e42867ea483226bd Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sun, 19 Feb 2023 11:27:36 +0530 Subject: [PATCH 051/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 22e8383ee..b64a26346 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,4 +25,4 @@ jobs: displayName: script dependsOn: myjob steps: - - script: aws s3 cp $(Pipeline.Workspace)/s/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file + - script: aws s3 cp $(Build.SourcesDirectory)/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From 3dc0425b1c722c017e34d6b73663592728474e06 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Tue, 21 Feb 2023 10:00:20 +0530 Subject: [PATCH 052/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b64a26346..bd4e942d0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,4 +25,4 @@ jobs: displayName: script dependsOn: myjob steps: - - script: aws s3 cp $(Build.SourcesDirectory)/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file + - script: aws s3 cp $(Build.StagingDirectory)/s/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file From 6785918ce58228315bb5f134fb1ab124067fc8a7 Mon Sep 17 00:00:00 2001 From: kiranteja623 Date: Thu, 23 Feb 2023 15:39:15 +0530 Subject: [PATCH 053/113] add --- azure-pipelines.yml => azure-pipelines.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) rename azure-pipelines.yml => azure-pipelines.yaml (69%) diff --git a/azure-pipelines.yml b/azure-pipelines.yaml similarity index 69% rename from azure-pipelines.yml rename to azure-pipelines.yaml index bd4e942d0..8c9fefcbf 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yaml @@ -21,8 +21,13 @@ jobs: jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenVersionOption: 'path' mavenDirectory: /home/ubuntu/spring-petclinic - - job: script - displayName: script - dependsOn: myjob + - job: job2 + displayName: job2 steps: - - script: aws s3 cp $(Build.StagingDirectory)/s/target s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive \ No newline at end of file + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'drop' + publishLocation: 'FilePath' + TargetPath: '$(Build.StagingDirectory)' + From fe87c4fc8c94604f3c903e1b1411b70cd96c1682 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 23 Feb 2023 15:42:55 +0530 Subject: [PATCH 054/113] Update azure-pipelines.yaml --- azure-pipelines.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 8c9fefcbf..b02c012b2 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -1,6 +1,6 @@ --- pool: - name: Default + name: Azure Pipelines trigger: - main jobs: From 179e88a8b4361362e82516e2a222c070ac29cac9 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 23 Feb 2023 16:18:43 +0530 Subject: [PATCH 055/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index b02c012b2..053ac6040 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -26,8 +26,7 @@ jobs: steps: - task: PublishBuildArtifacts@1 inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' + PathtoPublish: '$(Build.Repository.localPath)' ArtifactName: 'drop' - publishLocation: 'FilePath' - TargetPath: '$(Build.StagingDirectory)' + publishLocation: 'Container' From 2713e91ba879cab6b56b79770c300bb596c7c32a Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 23 Feb 2023 16:25:56 +0530 Subject: [PATCH 056/113] Update azure-pipelines.yaml --- azure-pipelines.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 053ac6040..514293265 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -1,6 +1,6 @@ --- pool: - name: Azure Pipelines + name: Default trigger: - main jobs: From 0cc22156a424b0b795504d2fc84b068629868db5 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 23 Feb 2023 16:28:05 +0530 Subject: [PATCH 057/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 514293265..a23c50e84 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -23,6 +23,7 @@ jobs: mavenDirectory: /home/ubuntu/spring-petclinic - job: job2 displayName: job2 + dependsOn: myjob steps: - task: PublishBuildArtifacts@1 inputs: From 67831c91ee439023bb7262c24c4e21a2d55bcf4e Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 23 Feb 2023 16:43:11 +0530 Subject: [PATCH 058/113] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index a23c50e84..26fa1564c 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -30,4 +30,4 @@ jobs: PathtoPublish: '$(Build.Repository.localPath)' ArtifactName: 'drop' publishLocation: 'Container' - + From f098f94083c6facbef179e6517e518f726ee0cc1 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 23 Feb 2023 16:49:24 +0530 Subject: [PATCH 059/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 26fa1564c..d24cfe932 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -1,6 +1,6 @@ --- pool: - name: Default + name: "Azure Pipelines" trigger: - main jobs: From 70aa9c8e6be5dd4937b7a8478b60b85d93de2c06 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 23 Feb 2023 16:51:49 +0530 Subject: [PATCH 060/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index d24cfe932..e6d927bdc 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -1,6 +1,6 @@ --- pool: - name: "Azure Pipelines" + name: "Default" trigger: - main jobs: From f6ffeadfddcca90d7d69929d545aea54fb8b1a18 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 23 Feb 2023 16:57:57 +0530 Subject: [PATCH 061/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index e6d927bdc..26fa1564c 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -1,6 +1,6 @@ --- pool: - name: "Default" + name: Default trigger: - main jobs: From 5163c1db03fbd44b6bc4f88fc1feb0d574d9f626 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 23 Feb 2023 21:55:49 +0530 Subject: [PATCH 062/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 26fa1564c..261b6bf80 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -7,10 +7,6 @@ jobs: - job: myjob displayName: myjob steps: - - script: sudo apt update - - script: sudo apt install openjdk-17-jdk -y - - script: sudo apt install maven -y - - script: sudo apt install git -y - task: Maven@3 inputs: mavenPOMFile: 'pom.xml' From 660cb48efa2f22902f76bce479dbff2194f02e35 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 23 Feb 2023 22:00:44 +0530 Subject: [PATCH 063/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 44 +++++++++++++++++++------------------------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 261b6bf80..e2af88a3c 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -1,29 +1,23 @@ --- pool: - name: Default + name: default trigger: - main -jobs: - - job: myjob - displayName: myjob - steps: - - task: Maven@3 - inputs: - mavenPOMFile: 'pom.xml' - publishJUnitResults: true - goals: 'package' - testResultsFiles: '**/surefire-reports/TEST-*.xml' - javaHomeOption: 'Path' - jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 - mavenVersionOption: 'path' - mavenDirectory: /home/ubuntu/spring-petclinic - - job: job2 - displayName: job2 - dependsOn: myjob - steps: - - task: PublishBuildArtifacts@1 - inputs: - PathtoPublish: '$(Build.Repository.localPath)' - ArtifactName: 'drop' - publishLocation: 'Container' - +steps: + - task: Maven@3 + inputs: + mavenPOMFile: 'pom.xml' + publishJUnitResults: true + goals: 'package' + testResultsFiles: '**/surefire-reports/TEST-*.xml' + javaHomeOption: 'Path' + jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 + mavenVersionOption: 'path' + mavenDirectory: /home/ubuntu/spring-petclinic + + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.Repository.localPath)' + ArtifactName: 'drop' + publishLocation: 'Container' + From f28f288c0787b6f59f5d14d1bbdc86ef2c5a343a Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 23 Feb 2023 22:02:49 +0530 Subject: [PATCH 064/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index e2af88a3c..85cbeb7c7 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -13,7 +13,7 @@ steps: javaHomeOption: 'Path' jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenVersionOption: 'path' - mavenDirectory: /home/ubuntu/spring-petclinic + mavenDirectory: /opt/maven - task: PublishBuildArtifacts@1 inputs: From e82964958026804b32ba04b062e1965bcc189d7c Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Thu, 23 Feb 2023 22:13:18 +0530 Subject: [PATCH 065/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 85cbeb7c7..e2af88a3c 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -13,7 +13,7 @@ steps: javaHomeOption: 'Path' jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenVersionOption: 'path' - mavenDirectory: /opt/maven + mavenDirectory: /home/ubuntu/spring-petclinic - task: PublishBuildArtifacts@1 inputs: From 47800c32d06193358bf2dead8d20121425aec592 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 24 Feb 2023 11:52:11 +0530 Subject: [PATCH 066/113] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index e2af88a3c..6695db566 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -14,10 +14,9 @@ steps: jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenVersionOption: 'path' mavenDirectory: /home/ubuntu/spring-petclinic - - task: PublishBuildArtifacts@1 inputs: - PathtoPublish: '$(Build.Repository.localPath)' + PathtoPublish: '$(Build.Repository.LocalPath)' ArtifactName: 'drop' - publishLocation: 'Container' - + publishLocation: 'FilePath' + TargetPath: '$(ArtifactStagingDirectory)' \ No newline at end of file From 7deec566457b541bfadb829eba62bd5cf70d6236 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 24 Feb 2023 11:54:57 +0530 Subject: [PATCH 067/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 6695db566..617d4e6a1 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -18,5 +18,4 @@ steps: inputs: PathtoPublish: '$(Build.Repository.LocalPath)' ArtifactName: 'drop' - publishLocation: 'FilePath' - TargetPath: '$(ArtifactStagingDirectory)' \ No newline at end of file + publishLocation: 'Container' \ No newline at end of file From 8bfd018bb1a00630694daa9a88713ac7e63fb88c Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 24 Feb 2023 12:12:32 +0530 Subject: [PATCH 068/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 617d4e6a1..b4ecf477a 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -18,4 +18,5 @@ steps: inputs: PathtoPublish: '$(Build.Repository.LocalPath)' ArtifactName: 'drop' - publishLocation: 'Container' \ No newline at end of file + publishLocation: 'FilePath' + TargetPath: '$(Build.ArtifactStagingDirectory)' From 205f94672d1d7f04c8afac94e5da1d55ca3d7c53 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 24 Feb 2023 12:15:41 +0530 Subject: [PATCH 069/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index b4ecf477a..20237070c 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -19,4 +19,4 @@ steps: PathtoPublish: '$(Build.Repository.LocalPath)' ArtifactName: 'drop' publishLocation: 'FilePath' - TargetPath: '$(Build.ArtifactStagingDirectory)' + TargetPath: '$(Agent.WorkFolder)' From c5d6bc5ff642e344a17c9eebd0ad3ac192366094 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 24 Feb 2023 12:43:49 +0530 Subject: [PATCH 070/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 20237070c..e846af303 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -14,9 +14,4 @@ steps: jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenVersionOption: 'path' mavenDirectory: /home/ubuntu/spring-petclinic - - task: PublishBuildArtifacts@1 - inputs: - PathtoPublish: '$(Build.Repository.LocalPath)' - ArtifactName: 'drop' - publishLocation: 'FilePath' - TargetPath: '$(Agent.WorkFolder)' + - script: aws s3 cp '$(Build.Repository.localPath)' s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive From 0bef0edb162710d428786da7260d6af262160062 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 24 Feb 2023 13:07:43 +0530 Subject: [PATCH 071/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index e846af303..89832c33e 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -14,4 +14,4 @@ steps: jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenVersionOption: 'path' mavenDirectory: /home/ubuntu/spring-petclinic - - script: aws s3 cp '$(Build.Repository.localPath)' s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive + - script: aws s3 cp '$(Build.Repository.localPath)/target' s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive From 3803732cb8c4dc23e6828bcade500216e1e5a51c Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 24 Feb 2023 13:12:01 +0530 Subject: [PATCH 072/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 89832c33e..7b38583b8 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -14,4 +14,13 @@ steps: jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64 mavenVersionOption: 'path' mavenDirectory: /home/ubuntu/spring-petclinic - - script: aws s3 cp '$(Build.Repository.localPath)/target' s3://spcfeb18 --grants read=uri=https://acs.amazonaws.com/groups/global/AllUsers --recursive + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.Repository.LocalPath)' + ArtifactName: 'drop' + publishLocation: 'Container' + - task: DownloadPipelineArtifact@2 + inputs: + buildType: 'current' + artifactName: 'drop' + targetPath: 'spc/' \ No newline at end of file From db1bfc3a1b0784c0956cbcf6797e373abace7ec8 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 24 Feb 2023 13:17:19 +0530 Subject: [PATCH 073/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 7b38583b8..ed0138739 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -23,4 +23,4 @@ steps: inputs: buildType: 'current' artifactName: 'drop' - targetPath: 'spc/' \ No newline at end of file + targetPath: '/home/ubuntu/spc' \ No newline at end of file From eab9864e6350ef1e92fb06289276a9101a297ea1 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 24 Feb 2023 13:45:07 +0530 Subject: [PATCH 074/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index ed0138739..4b67a8e4b 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -23,4 +23,5 @@ steps: inputs: buildType: 'current' artifactName: 'drop' - targetPath: '/home/ubuntu/spc' \ No newline at end of file + targetPath: '/home/ubuntu/spc' + - script: ansible-playbook -i host spc.yaml \ No newline at end of file From 79dd4ef7e046701c7a60f05658375284651b799b Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 24 Feb 2023 13:46:13 +0530 Subject: [PATCH 075/113] Add files via upload --- spc.yaml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 spc.yaml diff --git a/spc.yaml b/spc.yaml new file mode 100644 index 000000000..c1b7e1679 --- /dev/null +++ b/spc.yaml @@ -0,0 +1,48 @@ +--- +- name: spc deployment + hosts: localhost + become: yes + tasks: + - name: install java + ansible.builtin.apt: + name: openjdk-17-jdk + state: present + update_cache: true + - name: make a directory + ansible.builtin.file: + path: spc/ + state: "directory" + mode: '777' + - name: get url + ansible.builtin.get_url: + dest: /tmp/ + url: https://springpetclinic16feb.s3.ap-northeast-1.amazonaws.com/spring-petclinic-3.0.0-SNAPSHOT.jar + mode: '777' + - name: copy the content + ansible.builtin.copy: + src: /tmp/spring-petclinic-3.0.0-SNAPSHOT.jar + dest: spc/ + mode: '777' + - name: edit the service file + ansible.builtin.copy: + dest: /etc/systemd/system/spc.service + content: | + [Unit] + Description=Manage Java service + + [Service] + WorkingDirectory=/home/ubuntu/spc + ExecStart=java -jar spring-petclinic-3.0.0-SNAPSHOT.jar + Type=simple + Restart=on-failure + RestartSec=10 + + [Install] + WantedBy=multi-user.target + mode: '777' + - name: reload the systemd state + ansible.builtin.systemd: + name: spc.service + daemon_reload: true + enabled: true + state: "restarted" \ No newline at end of file From bf6cf2bf600bd11bfb4fa560d6d7320b179396ae Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 24 Feb 2023 13:47:27 +0530 Subject: [PATCH 076/113] Update azure-pipelines.yaml for Azure Pipelines --- azure-pipelines.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 4b67a8e4b..5af636caa 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -24,4 +24,4 @@ steps: buildType: 'current' artifactName: 'drop' targetPath: '/home/ubuntu/spc' - - script: ansible-playbook -i host spc.yaml \ No newline at end of file + - script: ansible-playbook -i host spc1.yaml \ No newline at end of file From b1c47b86bebe5bd13755e8d08d328fa3cada854e Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Fri, 24 Feb 2023 13:48:06 +0530 Subject: [PATCH 077/113] Create spc1.yaml --- spc1.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 spc1.yaml diff --git a/spc1.yaml b/spc1.yaml new file mode 100644 index 000000000..ba021c035 --- /dev/null +++ b/spc1.yaml @@ -0,0 +1,32 @@ +--- +- name: spc deployment + hosts: localhost + become: yes + tasks: + - name: install java + ansible.builtin.apt: + name: openjdk-17-jdk + state: present + update_cache: true + - name: edit the service file + ansible.builtin.copy: + dest: /etc/systemd/system/spc.service + content: | + [Unit] + Description=Manage Java service + + [Service] + WorkingDirectory=/home/ubuntu/spc/target + ExecStart=java -jar spring-petclinic-3.0.0-SNAPSHOT.jar + Type=simple + Restart=on-failure + RestartSec=10 + [Install] + WantedBy=multi-user.target + mode: '777' + - name: reload the systemd state + ansible.builtin.systemd: + name: spc.service + daemon_reload: true + enabled: true + state: "restarted" From 6f68247c474c2b260f95a83cecc9d79707afdf82 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 12:28:23 +0530 Subject: [PATCH 078/113] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..5135463fd --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,15 @@ +pool: "Azure Pipelines" +trigger: + - main +jobs: + - job: "gradle" + displayName: "gradle job" + steps: + - task: "Gradle@3" + inputs: + + gradleWrapperFile: 'gradlew' + tasks: 'build' + publishJUnitResults: true + testResultsFiles: '**/TEST-*.xml' + \ No newline at end of file From 6bfcd83aba2bfded48b009bc588fd676c75609e5 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 12:33:20 +0530 Subject: [PATCH 079/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5135463fd..0b169096f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,14 +1,17 @@ -pool: "Azure Pipelines" +pool: + name: "Azure Pipelines" + vmImage: "ubuntu-22.04" trigger: - main jobs: - job: "gradle" displayName: "gradle job" steps: + - script: sudo apt update && sudo apt install openjdk-11-jdk -y - task: "Gradle@3" inputs: - - gradleWrapperFile: 'gradlew' + workingDirectory: spring-petclinic/ + gradleWrapperFile: './gradlew' tasks: 'build' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' From 1d433b3267430cb3101db615244e8af8e2ab7e3d Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 12:36:11 +0530 Subject: [PATCH 080/113] Update azure-pipelines.ym --- azure-pipelines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0b169096f..a0c1ef111 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,8 +10,7 @@ jobs: - script: sudo apt update && sudo apt install openjdk-11-jdk -y - task: "Gradle@3" inputs: - workingDirectory: spring-petclinic/ - gradleWrapperFile: './gradlew' + gradleWrapperFile: 'gradlew' tasks: 'build' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' From c9b6c337b684041417e5761711278ec969811c04 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 12:38:32 +0530 Subject: [PATCH 081/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a0c1ef111..512f48457 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,5 +13,5 @@ jobs: gradleWrapperFile: 'gradlew' tasks: 'build' publishJUnitResults: true - testResultsFiles: '**/TEST-*.xml' + \ No newline at end of file From 58eb672c15f30c45a05130bb5de94f7b4a5a2706 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 12:42:36 +0530 Subject: [PATCH 082/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 512f48457..22ecb7f10 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,7 +7,6 @@ jobs: - job: "gradle" displayName: "gradle job" steps: - - script: sudo apt update && sudo apt install openjdk-11-jdk -y - task: "Gradle@3" inputs: gradleWrapperFile: 'gradlew' From 02b3602beff89ba43e5ca0edf0b497d12c71e2d6 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 12:47:37 +0530 Subject: [PATCH 083/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 22ecb7f10..e8ef99c75 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,6 +11,5 @@ jobs: inputs: gradleWrapperFile: 'gradlew' tasks: 'build' - publishJUnitResults: true \ No newline at end of file From 42e86381867d81642577f27dce376d7a594cf9e7 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 12:58:34 +0530 Subject: [PATCH 084/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e8ef99c75..915b9371d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,6 +10,8 @@ jobs: - task: "Gradle@3" inputs: gradleWrapperFile: 'gradlew' - tasks: 'build' + tasks: 'gradlew' + gradleOptions: '-Xmx1024m' + \ No newline at end of file From 0a9e13d4a1a486769c40739de48dee24865c8e51 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 13:01:00 +0530 Subject: [PATCH 085/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 915b9371d..3bbd99d16 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,6 +12,8 @@ jobs: gradleWrapperFile: 'gradlew' tasks: 'gradlew' gradleOptions: '-Xmx1024m' + javaHomeOption: 'JDKVersion' + jdkVersionOption: '1.11' \ No newline at end of file From 0919fa26ba92b081f932765e4193fde340df7b7e Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 13:09:10 +0530 Subject: [PATCH 086/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3bbd99d16..5c6ce1d05 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,13 +7,7 @@ jobs: - job: "gradle" displayName: "gradle job" steps: - - task: "Gradle@3" - inputs: - gradleWrapperFile: 'gradlew' - tasks: 'gradlew' - gradleOptions: '-Xmx1024m' - javaHomeOption: 'JDKVersion' - jdkVersionOption: '1.11' + - script: './gradlew build' \ No newline at end of file From f9bddd36d26709088488dc3d8434b8eedfe75d10 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 13:14:09 +0530 Subject: [PATCH 087/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5c6ce1d05..132f7fe98 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,7 +7,16 @@ jobs: - job: "gradle" displayName: "gradle job" steps: - - script: './gradlew build' + - task: Gradle@3 + inputs: + gradleWrapperFile: 'gradlew' + workingDirectory: 'springpetclinic/' + tasks: 'build' + publishJUnitResults: true + testResultsFiles: '**/TEST-*.xml' + javaHomeOption: 'JDKVersion' + sonarQubeRunAnalysis: false + spotBugsAnalysis: false \ No newline at end of file From 2f18d624b2130c7b5c8105a1356df663f4d17a39 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 13:16:25 +0530 Subject: [PATCH 088/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 132f7fe98..d8270f7c0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,7 +10,7 @@ jobs: - task: Gradle@3 inputs: gradleWrapperFile: 'gradlew' - workingDirectory: 'springpetclinic/' + workingDirectory: '$(Build.ArtifactStagingDirectory)' tasks: 'build' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' From e09302219e0c10bdd35c9a3408a4a57e3b59ecce Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 13:18:09 +0530 Subject: [PATCH 089/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d8270f7c0..0ac3ce174 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,7 +10,7 @@ jobs: - task: Gradle@3 inputs: gradleWrapperFile: 'gradlew' - workingDirectory: '$(Build.ArtifactStagingDirectory)' + workingDirectory: '$(Build.ArtifactStagingDirectory)/spring-petclinic' tasks: 'build' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' From 95fcfa6f0d0981fac9cd1292f11e61fa05f630a1 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 13:20:17 +0530 Subject: [PATCH 090/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0ac3ce174..774d87d98 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,7 +10,7 @@ jobs: - task: Gradle@3 inputs: gradleWrapperFile: 'gradlew' - workingDirectory: '$(Build.ArtifactStagingDirectory)/spring-petclinic' + workingDirectory: '$(Build.Repository.LocalPath)/spring-petclinic' tasks: 'build' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' From 7767c01577638b4837a580258f700aa440e595ae Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 13:23:11 +0530 Subject: [PATCH 091/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 774d87d98..7e6ea670f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,7 +10,7 @@ jobs: - task: Gradle@3 inputs: gradleWrapperFile: 'gradlew' - workingDirectory: '$(Build.Repository.LocalPath)/spring-petclinic' + workingDirectory: '$(Build.Repository.LocalPath)/.git/spring-petclinic' tasks: 'build' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' From de487532a88c28073f00a3b061618e5cf595acf2 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 13:25:51 +0530 Subject: [PATCH 092/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7e6ea670f..afeed6180 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,7 +10,6 @@ jobs: - task: Gradle@3 inputs: gradleWrapperFile: 'gradlew' - workingDirectory: '$(Build.Repository.LocalPath)/.git/spring-petclinic' tasks: 'build' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' From ee6a8a9313ef88a9173b8e8e3d3a328a91386161 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 13:29:14 +0530 Subject: [PATCH 093/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index afeed6180..dd226452b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,7 +9,7 @@ jobs: steps: - task: Gradle@3 inputs: - gradleWrapperFile: 'gradlew' + gradleWrapperFile: 'spring-petclinic/gradlew' tasks: 'build' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' From e0521c1a0ae6bca34f4a80e9a6608144e23a5347 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 13:33:14 +0530 Subject: [PATCH 094/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index dd226452b..a4252bdeb 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,7 +9,8 @@ jobs: steps: - task: Gradle@3 inputs: - gradleWrapperFile: 'spring-petclinic/gradlew' + gradleWrapperFile: 'gradlew' + workingDirectory: '$(workingDirectory)' tasks: 'build' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' From abbf1fece37cc3b606ebc45ae8eb58a3bd8b4c58 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 13:35:45 +0530 Subject: [PATCH 095/113] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a4252bdeb..86fd564d9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,7 +10,7 @@ jobs: - task: Gradle@3 inputs: gradleWrapperFile: 'gradlew' - workingDirectory: '$(workingDirectory)' + workingDirectory: '$(Build.Repository.LocalPath)' tasks: 'build' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' From 5dbb58bc7ed6e10c0c40bd345f26fe35892a13ae Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 16:14:34 +0530 Subject: [PATCH 096/113] added changes --- Jenkinsfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..350ddf7fb --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,19 @@ +pipeline { + agent { label 'UBUNTU_NODE1' } + trigger { + pollSCM('* * * * *') } + stages { + stage('get url') + steps { + git branch: 'sweety', + url: 'https://github.com/Madhuri-chinta/spring-petclinic.git' + } + stage('package') + steps { + sh './mvnw package' + } + } + + } + + From 600b291c54fff0c8814d90be5e336de06c27fde5 Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 16:20:21 +0530 Subject: [PATCH 097/113] added changes --- Jenkinsfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 350ddf7fb..d370a23a4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,17 +1,18 @@ pipeline { agent { label 'UBUNTU_NODE1' } - trigger { - pollSCM('* * * * *') } + trigger { pollSCM('* * * * *') } stages { - stage('get url') + stage('get url') { steps { git branch: 'sweety', url: 'https://github.com/Madhuri-chinta/spring-petclinic.git' } - stage('package') + } + stage('package') { steps { sh './mvnw package' - } + } + } } } From a729e3461d957572fcf5e3f4351cdc9d7cedf74c Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 16:22:51 +0530 Subject: [PATCH 098/113] added changes --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d370a23a4..69337ec0e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,6 @@ pipeline { agent { label 'UBUNTU_NODE1' } - trigger { pollSCM('* * * * *') } + triggers { pollSCM('* * * * *') } stages { stage('get url') { steps { From 186ad203bcc56c508c54e288f92553fba303114c Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 20:17:02 +0530 Subject: [PATCH 099/113] added changes --- Jenkinsfile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 69337ec0e..0a09e0af5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,9 +12,17 @@ pipeline { steps { sh './mvnw package' } - } + } + stage('sonarqube') { + steps { + withSonarQubeEnv('My SonarQube Server') { + sh 'mvn clean package sonar:sonar' + } + } + } + } } - } + From 8f1c16f493cdc22e4c45c8a1cd846661ae1a7733 Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 20:20:42 +0530 Subject: [PATCH 100/113] added changes --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0a09e0af5..d9e43186c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,7 @@ pipeline { } stage('sonarqube') { steps { - withSonarQubeEnv('My SonarQube Server') { + withSonarQubeEnv('madhuri') { sh 'mvn clean package sonar:sonar' } } From 1d9fce602bbf7caab190d42f8f6886f6e98eade8 Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 21:27:47 +0530 Subject: [PATCH 101/113] added changes --- Jenkinsfile | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d9e43186c..d99352407 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,7 +19,35 @@ pipeline { sh 'mvn clean package sonar:sonar' } } - } + } + stage('artifactory') { + steps { + rtMavenDeployer ( + id: "jfrog", + serverId: "madhuri", + releaseRepo: "madhuri", + snapshotRepo: "madhuri" + ) + } + } + stage ('Exec Maven') { + steps { + rtMavenRun ( + tool: "MAVEN_GOAL", // Tool name from Jenkins configuration + pom: 'pom.xml', + goals: 'clean install', + deployerId: "jfrog" + ) + } + } + + stage ('Publish build info') { + steps { + rtPublishBuildInfo ( + serverId: "madhuri" + ) + } + } } } From 3f74d6859a89ed3dd61dd065a1ebce51bec12bbf Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 21:33:01 +0530 Subject: [PATCH 102/113] added changes --- Jenkinsfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d99352407..51e92b5bf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -48,8 +48,15 @@ pipeline { ) } } + stage('post build') { + steps { + archiveArtifacts artifacts: '**/target/*.jar', + onlyIfSuccessful: true + junit testResults: '**/surefire-reports/TEST-*.xml' + } } - } + } +} From a7d61bb1a047ff4110561116197f0f78e7d0ab90 Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 21:46:05 +0530 Subject: [PATCH 103/113] added changes --- ansible/madhuri.service | 11 ++++++++++ ansible/spc.yaml | 28 ++++++++++++++++++++++++ spc.yaml | 48 ----------------------------------------- spc1.yaml | 32 --------------------------- 4 files changed, 39 insertions(+), 80 deletions(-) create mode 100644 ansible/madhuri.service create mode 100644 ansible/spc.yaml delete mode 100644 spc.yaml delete mode 100644 spc1.yaml diff --git a/ansible/madhuri.service b/ansible/madhuri.service new file mode 100644 index 000000000..32e7dce2d --- /dev/null +++ b/ansible/madhuri.service @@ -0,0 +1,11 @@ +[Unit] +Description=my springpetclinic application + +[Service] +User=ubuntu +WorkingDirectory=/home/jenkins +ExecStart=/usr/lib/jvm/java-17-openjdk-amd64/bin/java -jar /tmp/spring-petclinic-2.7.3.jar +Restart=always + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/ansible/spc.yaml b/ansible/spc.yaml new file mode 100644 index 000000000..94e768b4e --- /dev/null +++ b/ansible/spc.yaml @@ -0,0 +1,28 @@ +--- +- name: install springpetclinic + hosts: all + become: yes + tasks: + - name: install java17 and maven + ansible.builtin.apt: + name: + - openjdk-17-jdk + - maven + state: present + update_cache: yes + - name: get url from s3 bucket + ansible.builtin.get_url: + url: https://neelu-madhu.s3.ap-south-1.amazonaws.com/spring-petclinic-3.0.0-SNAPSHOT.jar + dest: /tmp + - name: copy service file + ansible.builtin.copy: + src: ./madhuri.service + dest: /etc/systemd/system/spring.service + - name: deamon-reload service + ansible.builtin.systemd: + state: started + daemon_reload: true + enabled: true + name: spring.service + + diff --git a/spc.yaml b/spc.yaml deleted file mode 100644 index c1b7e1679..000000000 --- a/spc.yaml +++ /dev/null @@ -1,48 +0,0 @@ ---- -- name: spc deployment - hosts: localhost - become: yes - tasks: - - name: install java - ansible.builtin.apt: - name: openjdk-17-jdk - state: present - update_cache: true - - name: make a directory - ansible.builtin.file: - path: spc/ - state: "directory" - mode: '777' - - name: get url - ansible.builtin.get_url: - dest: /tmp/ - url: https://springpetclinic16feb.s3.ap-northeast-1.amazonaws.com/spring-petclinic-3.0.0-SNAPSHOT.jar - mode: '777' - - name: copy the content - ansible.builtin.copy: - src: /tmp/spring-petclinic-3.0.0-SNAPSHOT.jar - dest: spc/ - mode: '777' - - name: edit the service file - ansible.builtin.copy: - dest: /etc/systemd/system/spc.service - content: | - [Unit] - Description=Manage Java service - - [Service] - WorkingDirectory=/home/ubuntu/spc - ExecStart=java -jar spring-petclinic-3.0.0-SNAPSHOT.jar - Type=simple - Restart=on-failure - RestartSec=10 - - [Install] - WantedBy=multi-user.target - mode: '777' - - name: reload the systemd state - ansible.builtin.systemd: - name: spc.service - daemon_reload: true - enabled: true - state: "restarted" \ No newline at end of file diff --git a/spc1.yaml b/spc1.yaml deleted file mode 100644 index ba021c035..000000000 --- a/spc1.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -- name: spc deployment - hosts: localhost - become: yes - tasks: - - name: install java - ansible.builtin.apt: - name: openjdk-17-jdk - state: present - update_cache: true - - name: edit the service file - ansible.builtin.copy: - dest: /etc/systemd/system/spc.service - content: | - [Unit] - Description=Manage Java service - - [Service] - WorkingDirectory=/home/ubuntu/spc/target - ExecStart=java -jar spring-petclinic-3.0.0-SNAPSHOT.jar - Type=simple - Restart=on-failure - RestartSec=10 - [Install] - WantedBy=multi-user.target - mode: '777' - - name: reload the systemd state - ansible.builtin.systemd: - name: spc.service - daemon_reload: true - enabled: true - state: "restarted" From b4f4d6c767bc0d7898ab692bb285158d5a13cfe6 Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 21:51:34 +0530 Subject: [PATCH 104/113] added changes --- Jenkinsfile | 5 +++++ ansible/hosts | 1 + 2 files changed, 6 insertions(+) create mode 100644 ansible/hosts diff --git a/Jenkinsfile b/Jenkinsfile index 51e92b5bf..14dfea9e2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -54,6 +54,11 @@ pipeline { onlyIfSuccessful: true junit testResults: '**/surefire-reports/TEST-*.xml' } + } + stage('deploy') { + steps { + sh ansible + } } } } diff --git a/ansible/hosts b/ansible/hosts new file mode 100644 index 000000000..2ab7e044c --- /dev/null +++ b/ansible/hosts @@ -0,0 +1 @@ +172.31.15.26 \ No newline at end of file From 177659dec994ec260f4646939fbdefbdafe95254 Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 21:55:21 +0530 Subject: [PATCH 105/113] added changes --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 14dfea9e2..8e0284a34 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,7 +57,8 @@ pipeline { } stage('deploy') { steps { - sh ansible + sh 'ansible -i ./ansible/hosts -m ping all' + sh 'ansible-playbook -i ./ansible/hosts ./ansible/spc.yaml' } } } From 65d74b8d002a20c5b2ae740e920b96c3650bd907 Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 22:27:51 +0530 Subject: [PATCH 106/113] added changes --- ansible/spc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/spc.yaml b/ansible/spc.yaml index 94e768b4e..90bcda7de 100644 --- a/ansible/spc.yaml +++ b/ansible/spc.yaml @@ -12,7 +12,7 @@ update_cache: yes - name: get url from s3 bucket ansible.builtin.get_url: - url: https://neelu-madhu.s3.ap-south-1.amazonaws.com/spring-petclinic-3.0.0-SNAPSHOT.jar + url: https://akshara1413.s3.ap-south-1.amazonaws.com/spring-petclinic-3.0.0-20230314.161709-3.jar dest: /tmp - name: copy service file ansible.builtin.copy: From 70c67d9356462b645027cb6b7e74d7d48ada17f2 Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 22:40:47 +0530 Subject: [PATCH 107/113] added changes --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 8e0284a34..c61f2ef7a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -56,6 +56,7 @@ pipeline { } } stage('deploy') { + agent any steps { sh 'ansible -i ./ansible/hosts -m ping all' sh 'ansible-playbook -i ./ansible/hosts ./ansible/spc.yaml' From 227a8c959ada373eea70eda54da41e035f6c30e3 Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 22:49:11 +0530 Subject: [PATCH 108/113] added changes --- ansible/madhuri.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/madhuri.service b/ansible/madhuri.service index 32e7dce2d..784169366 100644 --- a/ansible/madhuri.service +++ b/ansible/madhuri.service @@ -4,7 +4,7 @@ Description=my springpetclinic application [Service] User=ubuntu WorkingDirectory=/home/jenkins -ExecStart=/usr/lib/jvm/java-17-openjdk-amd64/bin/java -jar /tmp/spring-petclinic-2.7.3.jar +ExecStart=/usr/lib/jvm/java-17-openjdk-amd64/bin/java -jar /tmp/spring-petclinic-3.0.0-20230314.161709-3.jar Restart=always [Install] From 7fe93b4534dcec99df87149aec261f24b5606dfa Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 23:05:25 +0530 Subject: [PATCH 109/113] added changes --- ansible/madhuri.service | 2 +- ansible/spc.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/madhuri.service b/ansible/madhuri.service index 784169366..1972a633f 100644 --- a/ansible/madhuri.service +++ b/ansible/madhuri.service @@ -4,7 +4,7 @@ Description=my springpetclinic application [Service] User=ubuntu WorkingDirectory=/home/jenkins -ExecStart=/usr/lib/jvm/java-17-openjdk-amd64/bin/java -jar /tmp/spring-petclinic-3.0.0-20230314.161709-3.jar +ExecStart=/usr/lib/jvm/java-17-openjdk-amd64/bin/java -jar /home/jenkins/tmp/spring-petclinic-3.0.0-20230314.161709-3.jar Restart=always [Install] diff --git a/ansible/spc.yaml b/ansible/spc.yaml index 90bcda7de..2ea4ecdbf 100644 --- a/ansible/spc.yaml +++ b/ansible/spc.yaml @@ -13,7 +13,7 @@ - name: get url from s3 bucket ansible.builtin.get_url: url: https://akshara1413.s3.ap-south-1.amazonaws.com/spring-petclinic-3.0.0-20230314.161709-3.jar - dest: /tmp + dest: /home/jenkins/tmp - name: copy service file ansible.builtin.copy: src: ./madhuri.service From 4dbc169955ee73c9facb0e41079a580809f82460 Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <2509.sweety@gmail.com> Date: Tue, 14 Mar 2023 23:10:52 +0530 Subject: [PATCH 110/113] added changes --- ansible/madhuri.service | 4 ++-- ansible/spc.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/madhuri.service b/ansible/madhuri.service index 1972a633f..7a015f93c 100644 --- a/ansible/madhuri.service +++ b/ansible/madhuri.service @@ -3,8 +3,8 @@ Description=my springpetclinic application [Service] User=ubuntu -WorkingDirectory=/home/jenkins -ExecStart=/usr/lib/jvm/java-17-openjdk-amd64/bin/java -jar /home/jenkins/tmp/spring-petclinic-3.0.0-20230314.161709-3.jar +WorkingDirectory=/home/ubuntu +ExecStart=/usr/lib/jvm/java-17-openjdk-amd64/bin/java -jar /home/ubuntu/tmp/spring-petclinic-3.0.0-20230314.161709-3.jar Restart=always [Install] diff --git a/ansible/spc.yaml b/ansible/spc.yaml index 2ea4ecdbf..d2210b269 100644 --- a/ansible/spc.yaml +++ b/ansible/spc.yaml @@ -13,7 +13,7 @@ - name: get url from s3 bucket ansible.builtin.get_url: url: https://akshara1413.s3.ap-south-1.amazonaws.com/spring-petclinic-3.0.0-20230314.161709-3.jar - dest: /home/jenkins/tmp + dest: /home/ubuntu/tmp - name: copy service file ansible.builtin.copy: src: ./madhuri.service From c564a55cf0f814d077760507a065ffc8240174ef Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <120093763+Madhuri-chinta@users.noreply.github.com> Date: Wed, 15 Mar 2023 10:52:20 +0530 Subject: [PATCH 111/113] Update spc.yaml --- ansible/spc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/spc.yaml b/ansible/spc.yaml index d2210b269..2edd0c239 100644 --- a/ansible/spc.yaml +++ b/ansible/spc.yaml @@ -13,10 +13,10 @@ - name: get url from s3 bucket ansible.builtin.get_url: url: https://akshara1413.s3.ap-south-1.amazonaws.com/spring-petclinic-3.0.0-20230314.161709-3.jar - dest: /home/ubuntu/tmp + dest: /home/ubuntu/ - name: copy service file ansible.builtin.copy: - src: ./madhuri.service + src: ./ansible/madhuri.service dest: /etc/systemd/system/spring.service - name: deamon-reload service ansible.builtin.systemd: From e28ec4c31d32da072a5ed46d80e0818f725545d9 Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <120093763+Madhuri-chinta@users.noreply.github.com> Date: Wed, 15 Mar 2023 10:59:14 +0530 Subject: [PATCH 112/113] Update madhuri.service --- ansible/madhuri.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/madhuri.service b/ansible/madhuri.service index 7a015f93c..e906795d7 100644 --- a/ansible/madhuri.service +++ b/ansible/madhuri.service @@ -4,8 +4,8 @@ Description=my springpetclinic application [Service] User=ubuntu WorkingDirectory=/home/ubuntu -ExecStart=/usr/lib/jvm/java-17-openjdk-amd64/bin/java -jar /home/ubuntu/tmp/spring-petclinic-3.0.0-20230314.161709-3.jar +ExecStart=/usr/lib/jvm/java-17-openjdk-amd64/bin/java -jar /home/ubuntu/spring-petclinic-3.0.0-20230314.161709-3.jar Restart=always [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target From 5f6903d07d02049bc7b19e93f2725dc3bd92aa2b Mon Sep 17 00:00:00 2001 From: Madhuri-chinta <120093763+Madhuri-chinta@users.noreply.github.com> Date: Wed, 15 Mar 2023 10:59:56 +0530 Subject: [PATCH 113/113] Update spc.yaml --- ansible/spc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/spc.yaml b/ansible/spc.yaml index 2edd0c239..c3785283b 100644 --- a/ansible/spc.yaml +++ b/ansible/spc.yaml @@ -13,10 +13,10 @@ - name: get url from s3 bucket ansible.builtin.get_url: url: https://akshara1413.s3.ap-south-1.amazonaws.com/spring-petclinic-3.0.0-20230314.161709-3.jar - dest: /home/ubuntu/ + dest: /home/ubuntu - name: copy service file ansible.builtin.copy: - src: ./ansible/madhuri.service + src: ./madhuri.service dest: /etc/systemd/system/spring.service - name: deamon-reload service ansible.builtin.systemd: