mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-05-28 06:09:37 +00:00
23 lines
547 B
YAML
23 lines
547 B
YAML
![]() |
# Maven
|
||
|
# Build your Java project and run tests with Apache Maven.
|
||
|
# Add steps that analyze code, save build artifacts, deploy, and more:
|
||
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/java
|
||
|
|
||
|
trigger:
|
||
|
- main
|
||
|
|
||
|
pool:
|
||
|
vmImage: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- task: Maven@3
|
||
|
inputs:
|
||
|
mavenPomFile: 'pom.xml'
|
||
|
mavenOptions: '-Xmx3072m'
|
||
|
javaHomeOption: 'JDKVersion'
|
||
|
jdkVersionOption: '1.11'
|
||
|
jdkArchitectureOption: 'x64'
|
||
|
publishJUnitResults: true
|
||
|
testResultsFiles: '**/surefire-reports/TEST-*.xml'
|
||
|
goals: 'package'
|