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