mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:55:49 +00:00
Update azure-pipelines-1.yml for Azure Pipelines
This commit is contained in:
parent
4ebc055c6c
commit
7d8575ce56
1 changed files with 18 additions and 24 deletions
|
@ -1,21 +1,13 @@
|
|||
---
|
||||
pool:
|
||||
name: ubuntu-latest
|
||||
name: Default
|
||||
trigger:
|
||||
- main
|
||||
jobs:
|
||||
- job:
|
||||
displayName: installrequred
|
||||
steps:
|
||||
steps:
|
||||
- script: sudo apt update
|
||||
- script: sudo apt install openjdk-17-jdk -y
|
||||
- script: sudo apt install maven -y
|
||||
- script: sudo apt install git -y
|
||||
- script: sudo apt install openjdk-17-jdk -y
|
||||
|
||||
- job: package
|
||||
displayName: build the package
|
||||
dependsOn: installrequred
|
||||
steps:
|
||||
- task: Maven@3
|
||||
inputs:
|
||||
mavenPOMFile: 'pom.xml'
|
||||
|
@ -24,4 +16,6 @@ jobs:
|
|||
testResultsFiles: '**/surefire-reports/TEST-*.xml'
|
||||
jdkDirectory: /usr/lib/jvm/openjdk-17
|
||||
jdkVersionOption: '1.17'
|
||||
mavenDirectory: spring-petclinic
|
||||
mavenDirectory: /home/ubuntu/spring-petclinic
|
||||
|
||||
|
Loading…
Reference in a new issue