From 3fa44ea01028c93427c93f61074cf26479c9450e Mon Sep 17 00:00:00 2001 From: lakshmi164585 <115771905+lakshmi164585@users.noreply.github.com> Date: Fri, 17 Feb 2023 13:18:31 +0530 Subject: [PATCH] Update azurepipeline.yaml for Azure Pipelines --- azurepipeline.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/azurepipeline.yaml b/azurepipeline.yaml index 3eda724c7..a000d99c1 100644 --- a/azurepipeline.yaml +++ b/azurepipeline.yaml @@ -1,10 +1,13 @@ --- -pool: ubuntu +pool: Default trigger: - main steps: - - task: Maven@3 - inputs: + - script: sudo apt update + - script: sudo apt install openjdk-17-jdk -y + - script: sudo apt install maven -y + - task: Maven@3 + inputs: mavenPOMFile: 'pom.xml' publishJUnitResults: true testResultsFiles: '**/surefire-reports/TEST-*.xml'