-
Notifications
You must be signed in to change notification settings - Fork 771
Expand file tree
/
Copy pathazure-office-feed-publish.yml
More file actions
72 lines (72 loc) · 2.38 KB
/
azure-office-feed-publish.yml
File metadata and controls
72 lines (72 loc) · 2.38 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
trigger: none
pr: none
variables:
- group: InfoSec-SecurityResults
- name: tags
value: production,externalfacing
resources:
repositories:
- repository: OfficePipelineTemplates
type: git
name: 1ESPipelineTemplates/OfficePipelineTemplates
ref: refs/tags/release
extends:
template: v1/Office.Unofficial.PipelineTemplate.yml@OfficePipelineTemplates
parameters:
pool:
name: Azure-Pipelines-1ESPT-ExDShared
image: windows-2022
os: windows
customBuildTags:
- ES365AIMigrationTooling
stages:
- stage: __default
jobs:
- job: Compliance
displayName: Compliance checks
steps:
- task: 6d15af64-176c-496d-b583-fd2ae21d4df4@1
inputs:
repository: self
clean: true
fetchDepth: 10
- job: BuildAndPublish
displayName: 'Build and Publish to Office Feed'
dependsOn:
- Compliance
variables:
- name: BUILDSECMON_OPT_IN
value: true
steps:
- task: Gradle@2
displayName: 'Build Release AAR'
inputs:
gradleWrapperFile: 'android/gradlew'
tasks: 'assembleRelease makeSystemIconsUniversalPkg'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.11'
sonarQubeRunAnalysis: false
options: '-PversionName=$(VERSION_NAME)'
- task: CopyFiles@2
displayName: 'Copy Files to: $(build.artifactstagingdirectory)'
inputs:
SourceFolder: '$(system.defaultworkingdirectory)/universal'
Contents: '**'
TargetFolder: '$(build.artifactstagingdirectory)/outputs'
CleanTargetFolder: true
OverWrite: true
preserveTimestamp: true
- task: UniversalPackages@0
displayName: 'Publish to Office Feed'
inputs:
command: 'publish'
publishDirectory: '$(Build.ArtifactStagingDirectory)/outputs/'
feedsToUsePublish: 'internal'
vstsFeedPublish: 'Office'
vstsFeedPackagePublish: 'fluentui-system-icons'
versionOption: 'custom'
versionPublish: '$(VERSION_NAME)'
packagePublishDescription: 'Fluent System Icons Universal Package'
publishedPackageVar: 'fluent-system-icons-package'