fluentui-android/fluentui-office-build-unive...

67 строки
2.2 KiB
YAML
Исходник Постоянная ссылка Обычный вид История

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'
2024-11-19 09:07:33 +03:00
versionPublish: '0.3.3'
packagePublishDescription: 'Fluent Universal Package'
publishedPackageVar: 'fluent package'