Skip to content

Commit ee9b276

Browse files
committed
1ES build pipeline
1 parent 22ae082 commit ee9b276

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

setup/build.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
trigger: none
2+
3+
# The `resources` specify the location and version of the 1ES pipeline template.
4+
resources:
5+
repositories:
6+
- repository: 1esPipelines
7+
type: git
8+
name: 1ESPipelineTemplates/1ESPipelineTemplates
9+
ref: refs/tags/release
10+
11+
extends:
12+
# The pipeline extends the 1ES template which will inject different SDL and compliance tasks.
13+
template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines
14+
parameters:
15+
pool:
16+
name: VSEngSS-MicroBuild2019-1ES
17+
stages:
18+
- stage: Stage
19+
jobs:
20+
- job: HostJob
21+
templateContext:
22+
outputs:
23+
- output: pipelineArtifact
24+
targetPath: $(System.DefaultWorkingDirectory)\$(BuildConfiguration)\*.msi
25+
steps:
26+
- checkout: self
27+
clean: true
28+
fetchTags: true
29+
- task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@1
30+
displayName: Install Signing Plugin
31+
inputs:
32+
signType: real
33+
- task: NuGetCommand@2
34+
displayName: Restore NuGet Packages
35+
inputs:
36+
solution: setup\*.sln
37+
feedRestore: 795cdb14-9c0f-490d-965b-8b2799c1b60a
38+
- task: VSBuild@1
39+
displayName: Build Solution
40+
inputs:
41+
solution: setup\*.sln
42+
vsVersion: 16.0
43+
platform: $(BuildPlatform)
44+
configuration: $(BuildConfiguration)

0 commit comments

Comments
 (0)