From 0396adc8e41ef23adf6b4e3f8ed6009c91e0f0a2 Mon Sep 17 00:00:00 2001 From: Jian Chen Date: Thu, 6 Feb 2025 16:50:51 -0800 Subject: [PATCH] BrowserStack --- .../stages/mac-ios-packaging-build-stage.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 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 b639a9ffd0..d2dc4bcc53 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 @@ -41,11 +41,6 @@ stages: 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: pipelineArtifact - targetPath: $(Build.ArtifactStagingDirectory) - artifactName: browserstack_test_artifacts_${{ lower(parameters.packageVariant) }} steps: - bash: | set -e @@ -197,6 +192,14 @@ 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 + - task: 1ES.PublishPipelineArtifact@1 + inputs: + path: $(Build.ArtifactStagingDirectory) + artifact: ios_packaging_artifacts_${{ lower(parameters.packageVariant) }} + displayName: "Publish BrowserStack artifacts" + - script: | set -e -x pip install requests