diff --git a/azurepipeline.yaml b/azurepipeline.yaml index 05e6eed6d..48c2403a8 100644 --- a/azurepipeline.yaml +++ b/azurepipeline.yaml @@ -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 + +