AspNetKatana/azure-pipelines.yml

38 строки
788 B
YAML

#
# See https://docs.microsoft.com/azure/devops/pipelines/yaml-schema for details
#
variables:
- name: _TeamName
value: AspNetCore
- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE
value: true
- name: _PublishUsingPipelines
value: true
- name: _BuildConfig
value: Release
# used for post-build phases, internal builds only
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- group: AspNetKatana-SDLValidation-Params
# CI and PR triggers
trigger:
batch: true
branches:
include:
- main
- release/*
- internal/release/*
pr:
autoCancel: false
branches:
include:
- '*'
stages:
- stage: build
displayName: Build
jobs:
- template: /eng/templates/default-build.yml