From 0d00fc31303c30e5261c7230e227ecfe119e9245 Mon Sep 17 00:00:00 2001 From: Caroline Zhu Date: Tue, 19 Nov 2024 09:27:51 -0800 Subject: [PATCH] [mobile] Fix for mac-ios-packaging pipeline (#22879) ### Description Appends variant name to the Browserstack artifacts that are published so that we don't run into the error: "##[error]Artifact browserstack_test_artifacts already exists for build 609095." [Working pipeline run](https://aiinfra.visualstudio.com/Lotus/_build/results?buildId=609503&view=results) ### Motivation and Context - onnxruntime-ios-packaging-pipeline has been failing --- .../templates/stages/mac-ios-packaging-build-stage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci_build/github/azure-pipelines/templates/stages/mac-ios-packaging-build-stage.yml b/tools/ci_build/github/azure-pipelines/templates/stages/mac-ios-packaging-build-stage.yml index b6a214154e680..5d7ea5e7b2727 100644 --- a/tools/ci_build/github/azure-pipelines/templates/stages/mac-ios-packaging-build-stage.yml +++ b/tools/ci_build/github/azure-pipelines/templates/stages/mac-ios-packaging-build-stage.yml @@ -161,7 +161,7 @@ stages: # Publish the BrowserStack artifacts first so that if the next step fails, the artifacts will still be published # so that users can attempt to locally debug - publish: "$(Build.ArtifactStagingDirectory)" - artifact: "browserstack_test_artifacts" + artifact: "browserstack_test_artifacts_${{ lower(parameters.packageVariant) }}" displayName: "Publish BrowserStack test artifacts" - script: |