From 7ed772b8b0ad0e8e1f7d3294fc9b468d9d1e048c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moreno?= Date: Fri, 13 Dec 2024 16:50:04 +0100 Subject: [PATCH] remove retry at publish time (#236070) fixes #236067 --- build/azure-pipelines/common/publish.js | 2 +- build/azure-pipelines/common/publish.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/azure-pipelines/common/publish.js b/build/azure-pipelines/common/publish.js index 742db9d9e97..bcebd076c28 100644 --- a/build/azure-pipelines/common/publish.js +++ b/build/azure-pipelines/common/publish.js @@ -540,7 +540,7 @@ async function processArtifact(artifact, filePath) { const stagingContainerClient = blobServiceClient.getContainerClient('staging'); await stagingContainerClient.createIfNotExists(); const releaseService = await ESRPReleaseService.create(log, e('RELEASE_TENANT_ID'), e('RELEASE_CLIENT_ID'), e('RELEASE_AUTH_CERT'), e('RELEASE_REQUEST_SIGNING_CERT'), stagingContainerClient); - await (0, retry_1.retry)(() => releaseService.createRelease(version, filePath, friendlyFileName)); + await releaseService.createRelease(version, filePath, friendlyFileName); } const { product, os, arch, unprocessedType } = match.groups; const isLegacy = artifact.name.includes('_legacy'); diff --git a/build/azure-pipelines/common/publish.ts b/build/azure-pipelines/common/publish.ts index 0987502432b..b8b99c3855b 100644 --- a/build/azure-pipelines/common/publish.ts +++ b/build/azure-pipelines/common/publish.ts @@ -880,7 +880,7 @@ async function processArtifact( stagingContainerClient ); - await retry(() => releaseService.createRelease(version, filePath, friendlyFileName)); + await releaseService.createRelease(version, filePath, friendlyFileName); } const { product, os, arch, unprocessedType } = match.groups!;