From 7fc3f8dcd6af5a706d1672e4782e3f5e5715343a Mon Sep 17 00:00:00 2001 From: Jonathan Pobst Date: Thu, 13 Jul 2023 09:47:59 -0500 Subject: [PATCH] [ci] Add variable to request all build logs be published to build artifacts. --- build-tools/automation/yaml-templates/upload-results.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools/automation/yaml-templates/upload-results.yaml b/build-tools/automation/yaml-templates/upload-results.yaml index fbdddeaaf1b..ed782a58d4d 100644 --- a/build-tools/automation/yaml-templates/upload-results.yaml +++ b/build-tools/automation/yaml-templates/upload-results.yaml @@ -3,7 +3,7 @@ parameters: configuration: $(XA.Build.Configuration) artifactName: results includeBuildResults: false - condition: ne(variables['Agent.JobStatus'], 'Succeeded') + condition: or(ne(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['XA.PublishAllLogs'], 'true')) steps: - template: run-xaprepare.yaml