mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 02:45:50 +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:
|
||||
- name: JDKVersion
|
||||
displayName: parameters for jdkversiions
|
||||
type: string
|
||||
default: '1.17'
|
||||
|
||||
|
||||
parameters:
|
||||
- name: pompath
|
||||
displayName: pomfilepath
|
||||
type: string
|
||||
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:
|
||||
- task: Maven@3
|
||||
inputs:
|
||||
mavenPOMFile: 'pom.xml'
|
||||
publishJUnitResults: true
|
||||
goals: 'package'
|
||||
testResultsFiles: '**/surefire-reports/TEST-*.xml'
|
||||
JDKVersion: "${{ parameters.JDKVersion }}"
|
||||
jdkVersionOption: 'path'
|
||||
jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64
|
||||
mavenPOMFile: "${{ Parameters.pompath }}"
|
||||
goals: "${{ Parameters.goal }}"
|
||||
testResultsFiles: '*/surefire-reports/TEST-.xml'
|
||||
javaHomeOption: 'Path'
|
||||
jdkDirectory: "${{ Parameters.jdk_path }}"
|
||||
mavenVersionOption: 'path'
|
||||
mavenDirectory: /opt/maven
|
||||
|
||||
mavenDirectory: "${{ Parameters.mavenpath }}"
|
||||
|
|
Loading…
Reference in a new issue