From 90a964ee6f12d855b3b9df2e5fce6d1455df82f5 Mon Sep 17 00:00:00 2001 From: Kangxuan Ye Date: Wed, 13 Nov 2024 17:57:10 -0800 Subject: [PATCH] update --- tools/yaml-templates/ios-test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/yaml-templates/ios-test.yml b/tools/yaml-templates/ios-test.yml index 1f5b6febf0..a401e73678 100644 --- a/tools/yaml-templates/ios-test.yml +++ b/tools/yaml-templates/ios-test.yml @@ -19,8 +19,10 @@ steps: targetType: inline script: | brew install xctesthtmlreport + + echo "##vso[task.setvariable variable=xctestHtmlReportInstalled]Yes" workingDirectory: '$(Agent.BuildDirectory)/iOSHost' - continue-on-error: true + continueOnError: true condition: always() - task: NodeTool@0 @@ -154,7 +156,7 @@ steps: cd "${output}" zip -r "$(agent.JobName)_DebugLogs.zip" . displayName: Preparations for publishing results - condition: eq(variables['task.iOS_E2E_Test_Task.status'], 'failed') + condition: eq(variables['xctestHtmlReportInstalled'], 'Yes') - task: 1ES.PublishPipelineArtifact@1 inputs: