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