azure-websites-security/eng/ci/official-build.yml

51 строка
1.0 KiB
YAML

trigger:
batch: true
branches:
include:
- main
- v0.x
schedules:
# Ensure we build nightly to catch any new CVEs and report SDL often.
- cron: "0 0 * * *"
displayName: Nightly Build
branches:
include:
- main
- v0.x
always: true
# CI only, does not trigger on PRs.
pr: none
resources:
repositories:
- repository: 1es
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
- repository: eng
type: git
name: engineering
ref: refs/tags/release
variables:
- template: ci/variables/build.yml@eng
- template: ci/variables/cfs.yml@eng
- template: /eng/ci/templates/variables/build.yml@self
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1es
parameters:
pool:
name: 1es-pool-azfunc
image: 1es-windows-2022
os: windows
stages:
- stage: Build
jobs:
- template: /eng/ci/templates/jobs/build-artifacts.yml@self
parameters:
SkipBuildArtifacts: false