Update azurepipeline.yaml for Azure Pipelines

This commit is contained in:
lakshmi164585 2023-02-17 13:18:31 +05:30
parent fc1cc37fd5
commit 3fa44ea010

View file

@ -1,10 +1,13 @@
--- ---
pool: ubuntu pool: Default
trigger: trigger:
- main - main
steps: steps:
- task: Maven@3 - script: sudo apt update
inputs: - script: sudo apt install openjdk-17-jdk -y
- script: sudo apt install maven -y
- task: Maven@3
inputs:
mavenPOMFile: 'pom.xml' mavenPOMFile: 'pom.xml'
publishJUnitResults: true publishJUnitResults: true
testResultsFiles: '**/surefire-reports/TEST-*.xml' testResultsFiles: '**/surefire-reports/TEST-*.xml'