mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:55:49 +00:00
Update azure-pipelines-1.yml for Azure Pipelines
This commit is contained in:
parent
9eb6446ed1
commit
3709a87bd8
1 changed files with 2 additions and 14 deletions
|
@ -4,20 +4,8 @@ pool:
|
|||
trigger:
|
||||
- main
|
||||
steps:
|
||||
- script: sudo apt update
|
||||
- script: sudo apt install openjdk-17-jdk -y
|
||||
- script: sudo apt install maven -y
|
||||
- script: sudo apt install git -y
|
||||
- task: Maven@3
|
||||
inputs:
|
||||
mavenPOMFile: 'pom.xml'
|
||||
publishJUnitResults: true
|
||||
goals: 'package'
|
||||
testResultsFiles: '**/surefire-reports/TEST-*.xml'
|
||||
javaHomeOption: 'Path'
|
||||
jdkDirectory: /usr/lib/jvm/java-17-openjdk-amd64
|
||||
mavenVersionOption: 'path'
|
||||
mavenDirectory: /home/ubuntu/spring-petclinic
|
||||
- script: echo ${ Build.ArtifactStagingDirectory }
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue