From 6df0cb43dbdc146fb8fa2c1492a8403b26b0a815 Mon Sep 17 00:00:00 2001 From: oneonezhang Date: Fri, 30 May 2025 14:28:33 +0800 Subject: [PATCH] release job --- build/pipelines/templates/release-store.yaml | 25 ++++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/build/pipelines/templates/release-store.yaml b/build/pipelines/templates/release-store.yaml index 484838358..7525803b4 100644 --- a/build/pipelines/templates/release-store.yaml +++ b/build/pipelines/templates/release-store.yaml @@ -3,21 +3,20 @@ jobs: - job: ReleaseStore dependsOn: Package + templateContext: + type: releaseJob + isProduction: true + inputs: + - input: pipelineArtifact + artifactName: storeBrokerPayload variables: - skipComponentGovernanceDetection: true - StoreBrokerPackagePath: $(Pipeline.Workspace)\storeBrokerPayload - StoreBrokerLogPath: $(StoreBrokerPackagePath)\StoreBroker.log FlightId: 161f0975-cb5f-475b-8ef6-26383c37621f AppId: 9WZDNCRFHVN5 ProductId: 00009007199266248474 steps: - checkout: none - - download: current - displayName: Download storeBrokerPayload artifact - artifact: storeBrokerPayload - - - task: MS-RDX-MRO.windows-store-publish-dev.flight-task.store-flight@3 + - task: MS-RDX-MRO.windows-store-publish.flight-task.store-flight@3 displayName: Flight StoreBroker Payload to team ring name: StoreBrokerFlight inputs: @@ -25,12 +24,12 @@ jobs: appId: $(AppId) flightId: $(FlightId) inputMethod: JsonAndZip - jsonPath: $(StoreBrokerPackagePath)\SBCalculator.json - zipPath: $(StoreBrokerPackagePath)\SBCalculator.zip + jsonPath: $(Pipeline.Workspace)\SBCalculator.json + zipPath: $(Pipeline.Workspace)\SBCalculator.zip force: true skipPolling: true targetPublishMode: Immediate - logPath: $(StoreBrokerLogPath) + logPath: $(Pipeline.Workspace)\StoreBroker.log deletePackages: true numberOfPackagesToKeep: 0 @@ -40,6 +39,6 @@ jobs: productId: $(ProductId) flightId: $(FlightId) submissionId: $(StoreBrokerFlight.WS_SubmissionId) - submissionDataPath: $(StoreBrokerPackagePath)\SBCalculator.json - packagePath: $(StoreBrokerPackagePath)\SBCalculator.zip + submissionDataPath: $(Pipeline.Workspace)\SBCalculator.json + packagePath: $(Pipeline.Workspace)\SBCalculator.zip serviceEndpoint: AeroUpload-Calculator-FC