mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 02:45:50 +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
|
publishJUnitResults: true
|
||||||
goals: 'package'
|
goals: 'package'
|
||||||
testResultsFiles: '**/surefire-reports/TEST-*.xml'
|
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
|
- task: PublishBuildArtifacts@1
|
||||||
inputs:
|
inputs:
|
||||||
PathtoPublish: '$(Build.Repository.LocalPath)'
|
PathtoPublish: '$(Build.Repository.LocalPath)'
|
||||||
ArtifactName: 'drop'
|
ArtifactName: 'drop'
|
||||||
publishLocation: 'Container'
|
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