mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 06:45:49 +00:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
d53a61bf4f
commit
cccfd33ce0
1 changed files with 11 additions and 16 deletions
|
@ -1,21 +1,16 @@
|
||||||
# Starter pipeline
|
|
||||||
# Start with a minimal pipeline that you can customize to build and deploy your code.
|
|
||||||
# Add steps that build, run tests, deploy, and more:
|
|
||||||
# https://aka.ms/yaml
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
- master
|
- master
|
||||||
|
- releases/*
|
||||||
|
|
||||||
|
|
||||||
|
# All tasks on Linux
|
||||||
|
|
||||||
|
- job: build all linux
|
||||||
|
displayName: Build all tasks (Linux)
|
||||||
|
condition: and(succeeded(), not(variables.task), eq(variables.os, 'Linux'))
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-latest'
|
vmImage: ubuntu-16.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- script: echo Hello, world!
|
- template: ci/build-all-steps.yml
|
||||||
displayName: 'Run a one-line script'
|
parameters:
|
||||||
|
os: Linux
|
||||||
- script: |
|
|
||||||
echo Add other tasks to build, test, and deploy your project.
|
|
||||||
echo See https://aka.ms/yaml
|
|
||||||
displayName: 'Run a multi-line script'
|
|
||||||
|
|
||||||
- task: 'PublishBuildArtifacts@1'
|
|
||||||
|
|
Loading…
Reference in a new issue