From 639a0d846ffcc586f5b809f9301cd4a80ee9a32b Mon Sep 17 00:00:00 2001 From: Jian Chen Date: Thu, 6 Feb 2025 15:45:39 -0800 Subject: [PATCH] browserstack_test_artifacts_${{ lower(parameters.packageVariant) }} --- .../templates/stages/mac-ios-packaging-build-stage.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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 144e5fe3c3..ce573fa4f1 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 @@ -35,6 +35,9 @@ stages: - output: pipelineArtifact targetPath: $(Build.ArtifactStagingDirectory) artifactName: ios_packaging_artifacts_${{ lower(parameters.packageVariant) }} + + # 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 - output: BrowserStackArtifact targetPath: $(Build.ArtifactStagingDirectory) artifactName: browserstack_test_artifacts_${{ lower(parameters.packageVariant) }} @@ -158,12 +161,6 @@ stages: workingDirectory: '$(Build.BinariesDirectory)/app_center_test/apple_package_test/' displayName: "Create .ipa file" - # 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_${{ lower(parameters.packageVariant) }}" - displayName: "Publish BrowserStack test artifacts" - - script: | set -e -x pip install requests