master
yml 53 lines 1.14 KB
Raw
1 trigger:
2 branches:
3 include:
4 - master
5 - release/*
6
7 variables:
8 WindowsContainerImage: "onebranch.azurecr.io/windows/ltsc2022/vse2022:latest"
9 WindowsHostVersion: '1ESWindows2022'
10
11 resources:
12 repositories:
13 - repository: templates
14 type: git
15 name: OneBranch.Pipelines/GovernedTemplates
16 ref: refs/heads/main
17
18 extends:
19 template: v2/Microsoft.NonOfficial.yml@templates
20 parameters:
21 platform:
22 name: "windows_undocked"
23 featureFlags:
24 EnableCDPxPAT: false
25 WindowsHostVersion: 1ESWindows2022
26 globalSdl:
27 suppression:
28 suppressionFile: $(Build.SourcesDirectory)\.gdnsuppress
29 suppressionSet: default
30 apiscan:
31 enabled: false
32 credscan:
33 enabled: true
34 perStage:
35 credscan:
36 enabled: true
37 policheck:
38 enabled: true
39 break: true
40 severity: Note
41 git:
42 fetchDepth: -1
43 fetchTags: true
44
45 stages:
46 - template: build-stage.yml@self
47 parameters:
48 isRelease: false
49
50 - template: test-stage.yml@self
51 parameters:
52 includePackageStage: false
53 rs_prerelease_only: true