-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathazure-pipelines.yml
59 lines (58 loc) · 1.77 KB
/
azure-pipelines.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
50
51
52
53
54
55
56
57
58
59
# This Yaml Document has been converted by ESAI Yaml Pipeline Conversion Tool.
# This pipeline will be extended to the OneESPT template
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
featureFlags:
autoBaseline: false
sdl:
baseline:
baselineSet: default
baselineFile: $(Build.SourcesDirectory)/.gdn/.gdnbaselines
sourceAnalysisPool:
name: 1ES-ABTT-Shared-Pool
image: abtt-windows-2022
os: windows
customBuildTags:
- ES365AIMigrationTooling
stages:
- stage: stage
jobs:
- job: 'Ubuntu_2204'
pool:
name: 1ES-ABTT-Shared-Pool
image: abtt-ubuntu-2204
os: linux
steps:
- template: /azure-pipelines-steps.yml@self
- job: 'MacOS_12'
pool:
name: Azure Pipelines
image: macOS-latest
os: macOS
steps:
- template: /azure-pipelines-steps.yml@self
- job: 'Windows_2022'
pool:
name: 1ES-ABTT-Shared-Pool
image: abtt-windows-2022
os: windows
templateContext:
outputs:
- output: pipelineArtifact
targetPath: '_build'
artifactType: 'pipeline'
artifactName: 'npm-package'
- output: pipelineArtifact
displayName: 'Publish npm artifact'
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
targetPath: '$(Build.ArtifactStagingDirectory)'
artifactName: npm
steps:
- template: /azure-pipelines-steps.yml@self