-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
ci.yml
45 lines (43 loc) · 1.05 KB
/
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
# Configure which branches trigger builds
trigger:
batch: true
branches:
include:
- main
variables:
- name: TeamName
value: dotnet-aspire
resources:
repositories:
# Repo: 1ESPipelineTemplates/1ESPipelineTemplates
- repository: 1esPipelines
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
parameters:
sdl:
policheck:
enabled: true
tsa:
enabled: true
pool:
name: NetCore1ESPool-Svc-Internal
image: windows.vs2019.amd64
os: windows
stages:
- stage: buildStage
displayName: Build Stage
jobs:
- job: Build
displayName: Windows Build
timeoutInMinutes: 90
workspace:
clean: all
steps:
- task: UseDotNet@2
inputs:
useGlobalJson: true
- script: dotnet build eShop.Web.slnf
displayName: Build Step