-
Notifications
You must be signed in to change notification settings - Fork 107
/
fluentui-office-build-universal-publish-1espt.yml
67 lines (67 loc) · 2.23 KB
/
fluentui-office-build-universal-publish-1espt.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
60
61
62
63
64
65
66
67
variables:
- group: InfoSec-SecurityResults
- name: tags
value: production,externalfacing
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
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: ''
dependsOn:
- Compliance
variables:
- name: BUILDSECMON_OPT_IN
value: true
steps:
- task: Gradle@2
inputs:
gradleWrapperFile: 'gradlew'
tasks: 'assembleRelease makeUniversalPkg'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.11'
sonarQubeRunAnalysis: false
options: '-PappCenterSecret=$(appCenterSecret) -PsigningKeyPassword=$(signingKeyPassword) -PsigningKeyStorePassword=$(signingKeyStorePassword)'
- 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
inputs:
command: 'publish'
publishDirectory: '$(Build.ArtifactStagingDirectory)/outputs/'
feedsToUsePublish: 'internal'
vstsFeedPublish: 'Office'
vstsFeedPackagePublish: 'fluentuiandroid'
versionOption: 'custom'
versionPublish: '0.3.4'
packagePublishDescription: 'Fluent Universal Package'
publishedPackageVar: 'fluent package'