mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
Update parameter1.yaml
This commit is contained in:
parent
27553a81b1
commit
e2aa07c25d
1 changed files with 24 additions and 17 deletions
|
@ -1,21 +1,28 @@
|
||||||
---
|
|
||||||
parameters:
|
parameters:
|
||||||
- name: JDKVersion
|
- name: pompath
|
||||||
displayName: parameters for jdkversiions
|
displayName: pomfilepath
|
||||||
type: string
|
type: string
|
||||||
default: '1.17'
|
default: 'pom.xml'
|
||||||
|
- name: goal
|
||||||
|
displayName: goal
|
||||||
|
type: string
|
||||||
|
default: 'package'
|
||||||
|
- name: jdk_path
|
||||||
|
displayName: java-path
|
||||||
|
type: string
|
||||||
|
default: '/usr/lib/jvm/java-17-openjdk-amd64'
|
||||||
|
- name: mavenpath
|
||||||
|
displayName: maven-path
|
||||||
|
type: string
|
||||||
|
default: '/home/ubuntu/spring-petclinic'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: Maven@3
|
- task: Maven@3
|
||||||
inputs:
|
inputs:
|
||||||
mavenPOMFile: 'pom.xml'
|
mavenPOMFile: "${{ Parameters.pompath }}"
|
||||||
publishJUnitResults: true
|
goals: "${{ Parameters.goal }}"
|
||||||
goals: 'package'
|
testResultsFiles: '*/surefire-reports/TEST-.xml'
|
||||||
testResultsFiles: '**/surefire-reports/TEST-*.xml'
|
javaHomeOption: 'Path'
|
||||||
JDKVersion: "${{ parameters.JDKVersion }}"
|
jdkDirectory: "${{ Parameters.jdk_path }}"
|
||||||
jdkVersionOption: 'path'
|
|
||||||
jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64
|
|
||||||
mavenVersionOption: 'path'
|
mavenVersionOption: 'path'
|
||||||
mavenDirectory: /opt/maven
|
mavenDirectory: "${{ Parameters.mavenpath }}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue