From 6bfcd83aba2bfded48b009bc588fd676c75609e5 Mon Sep 17 00:00:00 2001 From: Kiranteja623 <100252762+Kiranteja623@users.noreply.github.com> Date: Sat, 4 Mar 2023 12:33:20 +0530 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5135463fd..0b169096f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,14 +1,17 @@ -pool: "Azure Pipelines" +pool: + name: "Azure Pipelines" + vmImage: "ubuntu-22.04" trigger: - main jobs: - job: "gradle" displayName: "gradle job" steps: + - script: sudo apt update && sudo apt install openjdk-11-jdk -y - task: "Gradle@3" inputs: - - gradleWrapperFile: 'gradlew' + workingDirectory: spring-petclinic/ + gradleWrapperFile: './gradlew' tasks: 'build' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml'