-
Notifications
You must be signed in to change notification settings - Fork 274
Expand file tree
/
Copy pathOneBranch.PullRequest.yml
More file actions
76 lines (64 loc) · 1.72 KB
/
OneBranch.PullRequest.yml
File metadata and controls
76 lines (64 loc) · 1.72 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
parameters:
- name: 'debug'
displayName: 'Enable debug output'
type: boolean
default: false
variables:
- template: variables/version.yml
- template: variables/OneBranchVariables.yml
parameters:
debug: ${{ parameters.debug }}
name: PullRequest_3.0.$(date:yyMMdd)$(rev:.r)
trigger: none
pool:
type: windows
resources:
repositories:
- repository: templates
type: git
name: OneBranch.Pipelines/GovernedTemplates
ref: refs/heads/main
extends:
template: v2/Microsoft.NonOfficial.yml@templates
parameters:
platform:
name: 'windows_undocked'
product: 'build_tools'
featureFlags:
WindowsHostVersion:
Version: 2022
globalSdl:
isNativeCode: true
tsa:
enabled: false
sbom:
enabled: true
stages:
- stage: build
jobs:
- template: .pipelines/jobs/OneBranchBuild.yml@self
parameters:
BuildConfiguration: $(BuildConfiguration)
BuildVersion: $(BuildVersion)
- stage: NuGet
dependsOn: build
jobs:
- template: .pipelines/jobs/OneBranchNuGet.yml@self
parameters:
BuildConfiguration: $(BuildConfiguration)
NugetPackageVersion: $(NugetPackageVersion)
- stage: Test
dependsOn: build
jobs:
- template: .pipelines/jobs/OneBranchTest.yml@self
parameters:
BuildConfiguration: $(BuildConfiguration)
BuildVersion: $(BuildVersion)
- stage: Vsix
dependsOn: NuGet
jobs:
- template: .pipelines/jobs/OneBranchVsix.yml@self
parameters:
BuildConfiguration: $(BuildConfiguration)
BuildVersion: $(BuildVersion)
NugetPackageVersion: $(NugetPackageVersion)