mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:45:49 +00:00
hello
This commit is contained in:
parent
14373206c4
commit
e77ceafef3
1 changed files with 27 additions and 0 deletions
27
mvn.reusable.yaml
Normal file
27
mvn.reusable.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
parameters:
|
||||
- name: goal
|
||||
displayName: maven goal
|
||||
type: string
|
||||
default: 'package'
|
||||
values:
|
||||
- package
|
||||
- clean
|
||||
- install
|
||||
- compile
|
||||
- name: jdkVersion
|
||||
displayName: 'Java Version'
|
||||
type: string
|
||||
default: '1.11'
|
||||
- name: pomFilePath
|
||||
displayName: mavenPOMFile
|
||||
type: string
|
||||
default: 'pom.xml'
|
||||
|
||||
steps:
|
||||
- task: Maven@3
|
||||
inputs:
|
||||
mavenPOMFile: "${{ parameters.pomFilePath }}"
|
||||
goals: "${{ parameters.goal }}"
|
||||
publishJUnitResults: yes
|
||||
testResultsFiles: '**/surefire-reports/TEST-*.xml'
|
||||
jdkVersionOption: "${{ parameters.jdkVersion }}"
|
Loading…
Reference in a new issue