OMDSCloud/azure-pipelines.yml
2023-07-24 17:47:37 +09:00

27 lines
751 B
YAML

# 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:
tags:
include:
- stage-*
pool:
vmImage: ubuntu-latest
jobs:
- job: Build
pool:
vmImage: ubuntu-latest
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/stage-'), eq(variables['Build.SourceBranchName'], 'develop'))
steps:
- script: echo Checked out $(Build.SourceVersion) tagged with $(Build.SourceBranch)
displayName: "Run a one-line script"
- script: |
echo Add other tasks to build, test, and deploy your project.
echo See https://aka.ms/yaml
displayName: "Run Build"