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