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