-
Notifications
You must be signed in to change notification settings - Fork 103
/
fluentui-android-modular-build-universal-publish.yml
62 lines (57 loc) · 2.12 KB
/
fluentui-android-modular-build-universal-publish.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
variables:
- group: InfoSec-SecurityResults
- name: tags
value: production,externalfacing
jobs:
- job: Compliance
displayName: Compliance checks
pool: OE-OfficePublic
steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: true # whether to fetch clean each time
fetchDepth: 10 # the depth of commits to ask Git to fetch
- job:
dependsOn: Compliance
pool:
vmImage: 'macos-latest'
demands:
- java
- JDK
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: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
displayName: 📒 Generate Manifest
inputs:
BuildDropPath: '$(Build.ArtifactStagingDirectory)/outputs/'
- task: UniversalPackages@0
inputs:
command: 'publish'
publishDirectory: '$(Build.ArtifactStagingDirectory)/outputs/'
feedsToUsePublish: 'internal'
vstsFeedPublish: 'Office'
vstsFeedPackagePublish: 'fluentuiandroid'
versionOption: 'custom'
versionPublish: '0.1.43'
packagePublishDescription: 'Fluent Universal Package'
publishedPackageVar: 'fluent package'