mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-28 18:35:49 +00:00
Update azurepipeline.yaml for Azure Pipelines
This commit is contained in:
parent
3fa44ea010
commit
0e7cced41a
1 changed files with 19 additions and 15 deletions
|
@ -1,17 +1,21 @@
|
|||
---
|
||||
pool: Default
|
||||
trigger:
|
||||
---
|
||||
pool:
|
||||
name: Default
|
||||
trigger:
|
||||
- main
|
||||
steps:
|
||||
- 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'
|
||||
JDKVersion: '1.17'
|
||||
goals: 'package'
|
||||
mavenVersionOption: 'Default'
|
||||
mavenAuthenticateFeed: false
|
||||
- script: sudo apt update
|
||||
- script: sudo apt install openjdk-17-jdk -y
|
||||
- script: sudo apt install maven -y
|
||||
- script: sudo apt install git -y
|
||||
- task: Maven@3
|
||||
inputs:
|
||||
mavenPOMFile: 'pom.xml'
|
||||
publishJUnitResults: true
|
||||
goals: 'package'
|
||||
testResultsFiles: '**/surefire-reports/TEST-*.xml'
|
||||
JDKVersion: '1.17'
|
||||
javaHomeOption: 'Path'
|
||||
jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64
|
||||
mavenVersionOption: 'path'
|
||||
mavenDirectory: /home/ubuntu/spring-petclinic
|
Loading…
Reference in a new issue