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] 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