From 2fed33bf1d11a9e1371f333b1b179e859fa30a66 Mon Sep 17 00:00:00 2001 From: lakshmi164585 <115771905+lakshmi164585@users.noreply.github.com> Date: Sat, 25 Feb 2023 12:06:56 +0530 Subject: [PATCH] Update azurepipeline.yaml for Azure Pipelines --- azurepipeline.yaml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) 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 + +