mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:55:49 +00:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
a0bb466efc
commit
80652951ec
1 changed files with 21 additions and 16 deletions
|
@ -3,12 +3,13 @@ pool:
|
|||
name: Default
|
||||
trigger:
|
||||
- main
|
||||
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
|
||||
- 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'
|
||||
|
@ -19,3 +20,7 @@ steps:
|
|||
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
|
||||
|
Loading…
Reference in a new issue