-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathazure-pipelines.yml
54 lines (44 loc) · 1.18 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
name: 1.4$(Rev:.r)
stages:
- stage: Build
displayName: Build Stage
jobs:
- job: Build
displayName: Create UI Extension Package
pool:
name: Hosted
steps:
- task: Npm@1
displayName: Install Modules
inputs:
command: install
verbose: false
- task: Npm@1
displayName: Compile Build Scripts
inputs:
command: custom
verbose: false
customCommand: run compile:scripts
- task: Npm@1
displayName: Gather up extension files
inputs:
command: custom
verbose: false
customCommand: run script:build
- task: Npm@1
displayName: Create Zip files
inputs:
command: custom
verbose: false
customCommand: run script:package
- task: CopyFiles@2
displayName: Copy Zip files to artefact directory
inputs:
SourceFolder: $(build.sourcesdirectory)/build
Contents: '*.zip'
TargetFolder: $(build.artifactstagingdirectory)
- task: PublishBuildArtifacts@1
displayName: "Publish Artifact: Upload zip files"
inputs:
PathToPublish: $(build.artifactstagingdirectory)
ArtifactName: zipfiles