mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-20 21:33:10 -07:00
1ES PT
This commit is contained in:
parent
246138621a
commit
569340ee6b
8 changed files with 194 additions and 211 deletions
|
@ -12,47 +12,64 @@ pr: none
|
||||||
|
|
||||||
name: 0.$(Date:yyMM).$(DayOfMonth)$(Rev:rr).0
|
name: 0.$(Date:yyMM).$(DayOfMonth)$(Rev:rr).0
|
||||||
|
|
||||||
jobs:
|
resources:
|
||||||
- template: ./templates/build-single-architecture.yaml
|
repositories:
|
||||||
parameters:
|
- repository: 1esPipelines
|
||||||
isReleaseBuild: true
|
type: git
|
||||||
useReleaseAppxManifest: false
|
name: 1ESPipelineTemplates/1ESPipelineTemplates
|
||||||
platform: x64
|
ref: refs/tags/release
|
||||||
|
|
||||||
- template: ./templates/build-single-architecture.yaml
|
extends:
|
||||||
|
template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines
|
||||||
parameters:
|
parameters:
|
||||||
isReleaseBuild: true
|
pool:
|
||||||
useReleaseAppxManifest: false
|
name: EssentialExperiences-windows-2022
|
||||||
platform: x86
|
image: MMSWindows2022-Secure
|
||||||
|
os: windows
|
||||||
|
|
||||||
- template: ./templates/build-single-architecture.yaml
|
stages:
|
||||||
parameters:
|
- stage:
|
||||||
isReleaseBuild: true
|
jobs:
|
||||||
useReleaseAppxManifest: false
|
- template: ./templates/build-single-architecture.yaml
|
||||||
platform: ARM
|
parameters:
|
||||||
|
isReleaseBuild: true
|
||||||
|
useReleaseAppxManifest: false
|
||||||
|
platform: x64
|
||||||
|
|
||||||
- template: ./templates/build-single-architecture.yaml
|
- template: ./templates/build-single-architecture.yaml
|
||||||
parameters:
|
parameters:
|
||||||
isReleaseBuild: true
|
isReleaseBuild: true
|
||||||
useReleaseAppxManifest: false
|
useReleaseAppxManifest: false
|
||||||
platform: ARM64
|
platform: x86
|
||||||
|
|
||||||
- template: ./templates/run-ui-tests.yaml
|
- template: ./templates/build-single-architecture.yaml
|
||||||
parameters:
|
parameters:
|
||||||
platform: x64
|
isReleaseBuild: true
|
||||||
runsettingsFileName: CalculatorUITests.ci-internal.runsettings
|
useReleaseAppxManifest: false
|
||||||
|
platform: ARM
|
||||||
|
|
||||||
- template: ./templates/run-ui-tests.yaml
|
- template: ./templates/build-single-architecture.yaml
|
||||||
parameters:
|
parameters:
|
||||||
platform: x86
|
isReleaseBuild: true
|
||||||
runsettingsFileName: CalculatorUITests.ci-internal.runsettings
|
useReleaseAppxManifest: false
|
||||||
|
platform: ARM64
|
||||||
|
|
||||||
- template: ./templates/run-unit-tests.yaml
|
- template: ./templates/run-ui-tests.yaml
|
||||||
parameters:
|
parameters:
|
||||||
platform: x64
|
platform: x64
|
||||||
|
runsettingsFileName: CalculatorUITests.ci-internal.runsettings
|
||||||
|
|
||||||
- template: ./templates/run-unit-tests.yaml
|
- template: ./templates/run-ui-tests.yaml
|
||||||
parameters:
|
parameters:
|
||||||
platform: x86
|
platform: x86
|
||||||
|
runsettingsFileName: CalculatorUITests.ci-internal.runsettings
|
||||||
|
|
||||||
- template: ./templates/package-msixbundle.yaml
|
- template: ./templates/run-unit-tests.yaml
|
||||||
|
parameters:
|
||||||
|
platform: x64
|
||||||
|
|
||||||
|
- template: ./templates/run-unit-tests.yaml
|
||||||
|
parameters:
|
||||||
|
platform: x86
|
||||||
|
|
||||||
|
- template: ./templates/package-msixbundle.yaml
|
||||||
|
|
|
@ -15,46 +15,59 @@ pr:
|
||||||
|
|
||||||
name: 0.$(Date:yyMM).$(DayOfMonth)$(Rev:rr).0
|
name: 0.$(Date:yyMM).$(DayOfMonth)$(Rev:rr).0
|
||||||
|
|
||||||
jobs:
|
resources:
|
||||||
- template: ./templates/build-single-architecture.yaml
|
repositories:
|
||||||
parameters:
|
- repository: 1esPipelines
|
||||||
platform: x64
|
type: git
|
||||||
isOSSBuild: true
|
name: 1ESPipelineTemplates/1ESPipelineTemplates
|
||||||
|
ref: refs/tags/release
|
||||||
|
|
||||||
- template: ./templates/build-single-architecture.yaml
|
extends:
|
||||||
|
template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines
|
||||||
parameters:
|
parameters:
|
||||||
platform: x86
|
pool:
|
||||||
isOSSBuild: true
|
name: EssentialExperiencesOpenSource-windows-2022
|
||||||
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
image: MMSWindows2022-Secure
|
||||||
|
os: windows
|
||||||
|
|
||||||
- template: ./templates/build-single-architecture.yaml
|
stages:
|
||||||
parameters:
|
- stage: Calculator
|
||||||
platform: ARM
|
jobs:
|
||||||
isOSSBuild: true
|
- template: ./templates/build-single-architecture.yaml
|
||||||
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
parameters:
|
||||||
|
platform: x64
|
||||||
|
|
||||||
- template: ./templates/build-single-architecture.yaml
|
- template: ./templates/build-single-architecture.yaml
|
||||||
parameters:
|
parameters:
|
||||||
platform: ARM64
|
platform: x86
|
||||||
isOSSBuild: true
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
||||||
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
|
||||||
|
|
||||||
- template: ./templates/run-ui-tests.yaml
|
- template: ./templates/build-single-architecture.yaml
|
||||||
parameters:
|
parameters:
|
||||||
platform: x64
|
platform: ARM
|
||||||
isOSSBuild: true
|
isOSSBuild: true
|
||||||
runsettingsFileName: CalculatorUITests.ci.runsettings
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
||||||
|
|
||||||
- template: ./templates/run-unit-tests.yaml
|
- template: ./templates/build-single-architecture.yaml
|
||||||
parameters:
|
parameters:
|
||||||
platform: x64
|
platform: ARM64
|
||||||
isOSSBuild: true
|
isOSSBuild: true
|
||||||
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
||||||
|
|
||||||
- template: ./templates/run-unit-tests.yaml
|
- template: ./templates/run-ui-tests.yaml
|
||||||
parameters:
|
parameters:
|
||||||
platform: x86
|
platform: x64
|
||||||
isOSSBuild: true
|
isOSSBuild: true
|
||||||
|
runsettingsFileName: CalculatorUITests.ci.runsettings
|
||||||
|
|
||||||
- template: ./templates/package-msixbundle.yaml
|
- template: ./templates/run-unit-tests.yaml
|
||||||
parameters:
|
parameters:
|
||||||
isOSSBuild: true
|
platform: x64
|
||||||
|
|
||||||
|
- template: ./templates/run-unit-tests.yaml
|
||||||
|
parameters:
|
||||||
|
platform: x86
|
||||||
|
|
||||||
|
- template: ./templates/package-msixbundle.yaml
|
||||||
|
parameters:
|
||||||
|
isOSSBuild: true
|
||||||
|
|
|
@ -8,63 +8,80 @@ trigger: none
|
||||||
pr: none
|
pr: none
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
versionMajor: 11
|
versionMajor: 0 # TODO: revert this to 11 before checking in the code
|
||||||
versionMinor: 2310
|
versionMinor: 2310
|
||||||
versionBuild: $[counter(format('{0}.{1}.*', variables['versionMajor'], variables['versionMinor']), 0)]
|
versionBuild: $[counter(format('{0}.{1}.*', variables['versionMajor'], variables['versionMinor']), 0)]
|
||||||
versionPatch: 0
|
versionPatch: 0
|
||||||
|
|
||||||
name: '$(versionMajor).$(versionMinor).$(versionBuild).$(versionPatch)'
|
name: '$(versionMajor).$(versionMinor).$(versionBuild).$(versionPatch)'
|
||||||
|
|
||||||
jobs:
|
resources:
|
||||||
- template: ./templates/build-single-architecture.yaml
|
repositories:
|
||||||
parameters:
|
- repository: 1esPipelines
|
||||||
platform: x64
|
type: git
|
||||||
isReleaseBuild: true
|
name: 1ESPipelineTemplates/1ESPipelineTemplates
|
||||||
useReleaseAppxmanifest: true
|
ref: refs/tags/release
|
||||||
|
|
||||||
- template: ./templates/build-single-architecture.yaml
|
extends:
|
||||||
|
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
|
||||||
parameters:
|
parameters:
|
||||||
platform: x86
|
pool:
|
||||||
isReleaseBuild: true
|
name: EssentialExperiences-windows-2022
|
||||||
useReleaseAppxmanifest: true
|
image: MMSWindows2022-Secure
|
||||||
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
os: windows
|
||||||
|
|
||||||
- template: ./templates/build-single-architecture.yaml
|
stages:
|
||||||
parameters:
|
- stage: Calculator
|
||||||
platform: ARM
|
jobs:
|
||||||
isReleaseBuild: true
|
- template: ./templates/build-single-architecture.yaml
|
||||||
useReleaseAppxmanifest: true
|
parameters:
|
||||||
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
platform: x64
|
||||||
|
isReleaseBuild: true
|
||||||
|
useReleaseAppxmanifest: true
|
||||||
|
|
||||||
- template: ./templates/build-single-architecture.yaml
|
- template: ./templates/build-single-architecture.yaml
|
||||||
parameters:
|
parameters:
|
||||||
platform: ARM64
|
platform: x86
|
||||||
isReleaseBuild: true
|
isReleaseBuild: true
|
||||||
useReleaseAppxmanifest: true
|
useReleaseAppxmanifest: true
|
||||||
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
||||||
|
|
||||||
- template: ./templates/run-ui-tests.yaml
|
- template: ./templates/build-single-architecture.yaml
|
||||||
parameters:
|
parameters:
|
||||||
platform: x64
|
platform: ARM
|
||||||
runsettingsFileName: CalculatorUITests.release.runsettings
|
isReleaseBuild: true
|
||||||
|
useReleaseAppxmanifest: true
|
||||||
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
||||||
|
|
||||||
- template: ./templates/run-ui-tests.yaml
|
- template: ./templates/build-single-architecture.yaml
|
||||||
parameters:
|
parameters:
|
||||||
platform: x86
|
platform: ARM64
|
||||||
runsettingsFileName: CalculatorUITests.release.runsettings
|
isReleaseBuild: true
|
||||||
|
useReleaseAppxmanifest: true
|
||||||
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
||||||
|
|
||||||
- template: ./templates/run-unit-tests.yaml
|
- template: ./templates/run-ui-tests.yaml
|
||||||
parameters:
|
parameters:
|
||||||
platform: x64
|
platform: x64
|
||||||
|
runsettingsFileName: CalculatorUITests.release.runsettings
|
||||||
|
|
||||||
- template: ./templates/run-unit-tests.yaml
|
- template: ./templates/run-ui-tests.yaml
|
||||||
parameters:
|
parameters:
|
||||||
platform: x86
|
platform: x86
|
||||||
|
runsettingsFileName: CalculatorUITests.release.runsettings
|
||||||
|
|
||||||
- template: ./templates/package-msixbundle.yaml
|
- template: ./templates/run-unit-tests.yaml
|
||||||
parameters:
|
parameters:
|
||||||
signBundle: true
|
platform: x64
|
||||||
createStoreBrokerPackages: true
|
|
||||||
|
|
||||||
- template: ./templates/release-store.yaml
|
- template: ./templates/run-unit-tests.yaml
|
||||||
- template: ./templates/release-vpack.yaml
|
parameters:
|
||||||
|
platform: x86
|
||||||
|
|
||||||
|
- template: ./templates/package-msixbundle.yaml
|
||||||
|
parameters:
|
||||||
|
signBundle: true
|
||||||
|
createStoreBrokerPackages: true
|
||||||
|
|
||||||
|
- template: ./templates/release-store.yaml
|
||||||
|
- template: ./templates/release-vpack.yaml
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
isReleaseBuild: false
|
isReleaseBuild: false
|
||||||
isOSSBuild: false
|
|
||||||
useReleaseAppxManifest: false
|
useReleaseAppxManifest: false
|
||||||
platform: ''
|
platform: ''
|
||||||
condition: ''
|
condition: ''
|
||||||
|
@ -11,11 +10,6 @@ jobs:
|
||||||
- job: Build${{ parameters.platform }}
|
- job: Build${{ parameters.platform }}
|
||||||
displayName: Build ${{ parameters.platform }}
|
displayName: Build ${{ parameters.platform }}
|
||||||
condition: ${{ parameters.condition }}
|
condition: ${{ parameters.condition }}
|
||||||
pool:
|
|
||||||
${{ if eq(parameters.isOSSBuild, true) }}:
|
|
||||||
name: EssentialExperiencesOpenSource-windows-2022
|
|
||||||
${{ if eq(parameters.isOSSBuild, false) }}:
|
|
||||||
name: EssentialExperiences-windows-2022
|
|
||||||
variables:
|
variables:
|
||||||
BuildConfiguration: Release
|
BuildConfiguration: Release
|
||||||
BuildPlatform: ${{ parameters.platform }}
|
BuildPlatform: ${{ parameters.platform }}
|
||||||
|
@ -33,14 +27,17 @@ jobs:
|
||||||
ManifestFileName: 'Package.appxmanifest'
|
ManifestFileName: 'Package.appxmanifest'
|
||||||
${{ if eq(parameters.useReleaseAppxManifest, true) }}:
|
${{ if eq(parameters.useReleaseAppxManifest, true) }}:
|
||||||
ManifestFileName: 'Package.Release.appxmanifest'
|
ManifestFileName: 'Package.Release.appxmanifest'
|
||||||
|
templateContext:
|
||||||
|
outputs:
|
||||||
|
- output: pipelineArtifact
|
||||||
|
displayName: Publish drop artifact
|
||||||
|
targetPath: $(Build.BinariesDirectory)
|
||||||
|
artifactName: drop
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
fetchDepth: 1
|
fetchDepth: 1
|
||||||
|
|
||||||
- ${{ if eq(parameters.isOSSBuild, true) }}:
|
|
||||||
- task: nuget-security-analysis@0
|
|
||||||
displayName: Secure Supply Chain Analysis
|
|
||||||
|
|
||||||
- ${{ if eq(parameters.isReleaseBuild, true) }}:
|
- ${{ if eq(parameters.isReleaseBuild, true) }}:
|
||||||
- task: UniversalPackages@0
|
- task: UniversalPackages@0
|
||||||
displayName: Download internals package
|
displayName: Download internals package
|
||||||
|
@ -78,21 +75,6 @@ jobs:
|
||||||
configuration: $(BuildConfiguration)
|
configuration: $(BuildConfiguration)
|
||||||
maximumCpuCount: true
|
maximumCpuCount: true
|
||||||
|
|
||||||
- ${{ if eq(parameters.isReleaseBuild, true) }}:
|
|
||||||
- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
|
|
||||||
displayName: 'Generate Software Bill of Material(SBoM)'
|
|
||||||
inputs:
|
|
||||||
BuildDropPath: $(Build.BinariesDirectory)\$(BuildConfiguration)\$(BuildPlatform)\Calculator
|
|
||||||
PackageName: 'Microsoft.WindowsCalculator'
|
|
||||||
PackageVersion: $(Build.BuildNumber)
|
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
|
||||||
displayName: Publish drop artifact
|
|
||||||
inputs:
|
|
||||||
artifactName: drop
|
|
||||||
pathToPublish: $(Build.BinariesDirectory)
|
|
||||||
parallel: true
|
|
||||||
|
|
||||||
- ${{ if eq(parameters.isReleaseBuild, true) }}:
|
- ${{ if eq(parameters.isReleaseBuild, true) }}:
|
||||||
- task: PublishSymbols@2
|
- task: PublishSymbols@2
|
||||||
displayName: Publish symbols
|
displayName: Publish symbols
|
||||||
|
@ -102,45 +84,7 @@ jobs:
|
||||||
symbolServerType: teamServices
|
symbolServerType: teamServices
|
||||||
treatNotIndexedAsWarning: true
|
treatNotIndexedAsWarning: true
|
||||||
|
|
||||||
- task: CopyFiles@2
|
|
||||||
displayName: Copy Files for BinSkim analysis
|
|
||||||
inputs:
|
|
||||||
SourceFolder: '$(Build.BinariesDirectory)\$(BuildConfiguration)\$(BuildPlatform)\Calculator\'
|
|
||||||
# Setting up a folder to store all the binary files that we need BinSkim to scan.
|
|
||||||
# If we put more things than we produce pdbs for and can index (such as nuget packages that ship without pdbs), binskim will fail.
|
|
||||||
# Below are ignored files
|
|
||||||
# - clrcompression.dll
|
|
||||||
# - WebView2Loader.dll
|
|
||||||
# - Microsoft.Web.WebView2.Core.dll
|
|
||||||
Contents: |
|
|
||||||
**\*
|
|
||||||
!**\clrcompression.dll
|
|
||||||
!**\WebView2Loader.dll
|
|
||||||
!**\Microsoft.Web.WebView2.Core.dll
|
|
||||||
TargetFolder: '$(Agent.BuildDirectory)\binskim'
|
|
||||||
CleanTargetFolder: true
|
|
||||||
OverWrite: true
|
|
||||||
flattenFolders: false
|
|
||||||
analyzeTarget: '$(Agent.BuildDirectory)\binskim\*'
|
|
||||||
|
|
||||||
- task: securedevelopmentteam.vss-secure-development-tools.build-task-binskim.BinSkim@3
|
|
||||||
displayName: Run BinSkim
|
|
||||||
inputs:
|
|
||||||
inputType: Basic
|
|
||||||
analyzeTarget: '$(Agent.BuildDirectory)\binskim\*'
|
|
||||||
analyzeVerbose: true
|
|
||||||
analyzeHashes: true
|
|
||||||
continueOnError: true
|
|
||||||
|
|
||||||
- task: securedevelopmentteam.vss-secure-development-tools.build-task-policheck.PoliCheck@1
|
- task: securedevelopmentteam.vss-secure-development-tools.build-task-policheck.PoliCheck@1
|
||||||
displayName: Run PoliCheck
|
displayName: Run PoliCheck
|
||||||
inputs:
|
inputs:
|
||||||
targetType: F
|
targetType: F
|
||||||
|
|
||||||
- task: securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@2
|
|
||||||
displayName: Publish security analysis logs
|
|
||||||
|
|
||||||
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
|
|
||||||
displayName: Detect open source components
|
|
||||||
inputs:
|
|
||||||
sourceScanPath: $(Agent.BuildDirectory)
|
|
||||||
|
|
|
@ -31,6 +31,24 @@ jobs:
|
||||||
skipComponentGovernanceDetection: true
|
skipComponentGovernanceDetection: true
|
||||||
StoreBrokerMediaRootPath: $(TEMP)\SBMedia
|
StoreBrokerMediaRootPath: $(TEMP)\SBMedia
|
||||||
StoreBrokerPackagePath: $(Build.ArtifactStagingDirectory)\storeBrokerPayload
|
StoreBrokerPackagePath: $(Build.ArtifactStagingDirectory)\storeBrokerPayload
|
||||||
|
templateContext:
|
||||||
|
outputs:
|
||||||
|
- ${{ if eq(parameters.signBundle, true) }}:
|
||||||
|
- output: pipelineArtifact
|
||||||
|
displayName: Publish MsixBundle artifact
|
||||||
|
targetPath: $(Build.ArtifactStagingDirectory)\msixBundle
|
||||||
|
artifactName: msixBundle
|
||||||
|
- ${{ if eq(parameters.signBundle, false) }}:
|
||||||
|
- output: pipelineArtifact
|
||||||
|
displayName: Publish MsixBundleSigned artifact
|
||||||
|
targetPath: $(Build.ArtifactStagingDirectory)\msixBundle
|
||||||
|
artifactName: msixBundleSigned
|
||||||
|
- ${{ if eq(parameters.createStoreBrokerPackages, true) }}:
|
||||||
|
- output: pipelineArtifact
|
||||||
|
displayName: Publish StoreBroker Payload artifact
|
||||||
|
targetPath: $(StoreBrokerPackagePath)
|
||||||
|
artifactName: storeBrokerPayload
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
fetchDepth: 1
|
fetchDepth: 1
|
||||||
|
@ -74,12 +92,6 @@ jobs:
|
||||||
contents: Microsoft.WindowsCalculator_8wekyb3d8bbwe.msixbundle
|
contents: Microsoft.WindowsCalculator_8wekyb3d8bbwe.msixbundle
|
||||||
targetFolder: $(Build.ArtifactStagingDirectory)\msixBundle
|
targetFolder: $(Build.ArtifactStagingDirectory)\msixBundle
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
|
||||||
displayName: Publish MsixBundle artifact
|
|
||||||
inputs:
|
|
||||||
artifactName: msixBundle
|
|
||||||
pathToPublish: $(Build.ArtifactStagingDirectory)\msixBundle
|
|
||||||
|
|
||||||
- ${{ if eq(parameters.signBundle, true) }}:
|
- ${{ if eq(parameters.signBundle, true) }}:
|
||||||
- task: EsrpCodeSigning@2
|
- task: EsrpCodeSigning@2
|
||||||
displayName: Send msixbundle to code signing service
|
displayName: Send msixbundle to code signing service
|
||||||
|
@ -114,11 +126,6 @@ jobs:
|
||||||
"ToolVersion": "1.0"
|
"ToolVersion": "1.0"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
- task: PublishBuildArtifacts@1
|
|
||||||
displayName: Publish MsixBundleSigned artifact
|
|
||||||
inputs:
|
|
||||||
pathtoPublish: $(Build.ArtifactStagingDirectory)\msixBundle
|
|
||||||
artifactName: msixBundleSigned
|
|
||||||
|
|
||||||
- ${{ if eq(parameters.createStoreBrokerPackages, true) }}:
|
- ${{ if eq(parameters.createStoreBrokerPackages, true) }}:
|
||||||
- powershell: |
|
- powershell: |
|
||||||
|
@ -152,9 +159,3 @@ jobs:
|
||||||
pdpMediaPath: $(StoreBrokerMediaRootPath)
|
pdpMediaPath: $(StoreBrokerMediaRootPath)
|
||||||
outSBPackagePath: $(StoreBrokerPackagePath)
|
outSBPackagePath: $(StoreBrokerPackagePath)
|
||||||
outSBName: SBCalculator
|
outSBName: SBCalculator
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
|
||||||
displayName: Publish StoreBroker Payload artifact
|
|
||||||
inputs:
|
|
||||||
pathtoPublish: $(StoreBrokerPackagePath)
|
|
||||||
artifactName: storeBrokerPayload
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
jobs:
|
jobs:
|
||||||
- job: ReleaseStore
|
- job: ReleaseStore
|
||||||
dependsOn: Package
|
dependsOn: Package
|
||||||
pool:
|
|
||||||
name: EssentialExperiences-windows-2022
|
|
||||||
variables:
|
variables:
|
||||||
skipComponentGovernanceDetection: true
|
skipComponentGovernanceDetection: true
|
||||||
StoreBrokerPackagePath: $(Build.ArtifactStagingDirectory)\storeBrokerPayload
|
StoreBrokerPackagePath: $(Build.ArtifactStagingDirectory)\storeBrokerPayload
|
||||||
|
|
|
@ -4,10 +4,15 @@
|
||||||
jobs:
|
jobs:
|
||||||
- job: ReleaseVPack
|
- job: ReleaseVPack
|
||||||
dependsOn: Package
|
dependsOn: Package
|
||||||
pool:
|
|
||||||
name: EssentialExperiences-windows-2022
|
|
||||||
variables:
|
variables:
|
||||||
skipComponentGovernanceDetection: true
|
skipComponentGovernanceDetection: true
|
||||||
|
templateContext:
|
||||||
|
outputs:
|
||||||
|
- output: pipelineArtifact
|
||||||
|
displayName: Publish vpack\app artifact with vpack manifest
|
||||||
|
targetPath: $(XES_VPACKMANIFESTDIRECTORY)\$(XES_VPACKMANIFESTNAME)
|
||||||
|
artifactName: vpackManifest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
- checkout: none
|
||||||
|
|
||||||
|
@ -34,9 +39,3 @@ jobs:
|
||||||
version: $(versionMajor).$(versionMinor).$(versionBuild)
|
version: $(versionMajor).$(versionMinor).$(versionBuild)
|
||||||
owner: paxeeapps
|
owner: paxeeapps
|
||||||
provData: true
|
provData: true
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
|
||||||
displayName: Publish vpack\app artifact with vpack manifest
|
|
||||||
inputs:
|
|
||||||
pathtoPublish: $(XES_VPACKMANIFESTDIRECTORY)\$(XES_VPACKMANIFESTNAME)
|
|
||||||
artifactName: vpackManifest
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# This template contains jobs to run unit tests.
|
# This template contains jobs to run unit tests.
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
isOSSBuild: false
|
|
||||||
platform: ''
|
platform: ''
|
||||||
runsettingsFileName: ''
|
runsettingsFileName: ''
|
||||||
|
|
||||||
|
@ -10,11 +9,6 @@ jobs:
|
||||||
displayName: UnitTests ${{ parameters.platform }}
|
displayName: UnitTests ${{ parameters.platform }}
|
||||||
dependsOn: Build${{ parameters.platform }}
|
dependsOn: Build${{ parameters.platform }}
|
||||||
condition: succeeded()
|
condition: succeeded()
|
||||||
pool:
|
|
||||||
${{ if eq(parameters.isOSSBuild, true) }}:
|
|
||||||
name: EssentialExperiencesOpenSource-windows-2022
|
|
||||||
${{ if eq(parameters.isOSSBuild, false) }}:
|
|
||||||
name: EssentialExperiences-windows-2022
|
|
||||||
variables:
|
variables:
|
||||||
skipComponentGovernanceDetection: true
|
skipComponentGovernanceDetection: true
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue