mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-28 18:35:49 +00:00
Update azurepipeline.yaml for Azure Pipelines
This commit is contained in:
parent
2dd2cecc15
commit
2fed33bf1d
1 changed files with 3 additions and 11 deletions
|
@ -12,20 +12,12 @@ jobs:
|
|||
publishJUnitResults: true
|
||||
goals: 'package'
|
||||
testResultsFiles: '**/surefire-reports/TEST-*.xml'
|
||||
javaHomeOption: 'Path'
|
||||
jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64
|
||||
mavenVersionOption: 'path'
|
||||
mavenDirectory: /home/ubuntu/spring-petclinic
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
inputs:
|
||||
PathtoPublish: '$(Build.Repository.LocalPath)'
|
||||
ArtifactName: 'drop'
|
||||
publishLocation: 'Container'
|
||||
- task: DownloadPipelineArtifact@2
|
||||
inputs:
|
||||
buildType: 'current'
|
||||
downloadType: 'single'
|
||||
artifactName: 'drop'
|
||||
targetPath: '/home/ubuntu/build'
|
||||
- script: ansible-playbook -i host ansibleplaybook.yaml
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue