mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:55:49 +00:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
6f68247c47
commit
6bfcd83aba
1 changed files with 6 additions and 3 deletions
|
@ -1,14 +1,17 @@
|
||||||
pool: "Azure Pipelines"
|
pool:
|
||||||
|
name: "Azure Pipelines"
|
||||||
|
vmImage: "ubuntu-22.04"
|
||||||
trigger:
|
trigger:
|
||||||
- main
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
- job: "gradle"
|
- job: "gradle"
|
||||||
displayName: "gradle job"
|
displayName: "gradle job"
|
||||||
steps:
|
steps:
|
||||||
|
- script: sudo apt update && sudo apt install openjdk-11-jdk -y
|
||||||
- task: "Gradle@3"
|
- task: "Gradle@3"
|
||||||
inputs:
|
inputs:
|
||||||
|
workingDirectory: spring-petclinic/
|
||||||
gradleWrapperFile: 'gradlew'
|
gradleWrapperFile: './gradlew'
|
||||||
tasks: 'build'
|
tasks: 'build'
|
||||||
publishJUnitResults: true
|
publishJUnitResults: true
|
||||||
testResultsFiles: '**/TEST-*.xml'
|
testResultsFiles: '**/TEST-*.xml'
|
||||||
|
|
Loading…
Reference in a new issue