mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 02:45:50 +00:00
Set up CI with Azure Pipelines
[skip ci]
This commit is contained in:
parent
c2437f712b
commit
f563c6f59d
1 changed files with 6 additions and 18 deletions
|
@ -1,21 +1,9 @@
|
||||||
---
|
---
|
||||||
pool:
|
pool:
|
||||||
name: Default
|
name: 'ubuntu'
|
||||||
trigger:
|
trigger:
|
||||||
- main
|
- main
|
||||||
steps:
|
extends:
|
||||||
- script: sudo apt update
|
template: ./parameter1.yaml
|
||||||
- script: sudo apt install openjdk-17-jdk -y
|
parameters:
|
||||||
- script: sudo apt install maven -y
|
JDKVersion: 1.17
|
||||||
- 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