-
Notifications
You must be signed in to change notification settings - Fork 104
/
.azure-ci.yml
49 lines (44 loc) · 1.1 KB
/
.azure-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
trigger:
branches:
include:
- main
# Run PR validation on all branches
pr:
branches:
include:
- '*'
resources:
repositories:
# Repo: 1ESPipelineTemplates/1ESPipelineTemplates
- repository: 1esPipelines
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
variables:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- name: BuildScriptArgs
value: ''
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
- name: BuildScriptArgs
value: '/p:BuildNumber=$(Build.BuildId)'
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
parameters:
pool:
name: NetCore1ESPool-Svc-Internal
image: 1es-windows-2019
os: windows
sdl:
sourceRepositoriesToScan:
include:
- repository: git://internal/aspnet-AspNetWebHooks-Signed
policheck:
enabled: true
tsa:
enabled: true
stages:
- stage: build
displayName: Build
jobs:
- template: /eng/templates/default-build.yml@self
- template: /eng/templates/signed-build.yml@self