From 448d24ffb193d4750d8a06749fae7da8197c6e86 Mon Sep 17 00:00:00 2001 From: Rainer Sigwald Date: Thu, 2 Oct 2025 11:28:34 -0500 Subject: [PATCH] Always try to copy logs If the build fails, we still want to be able to see the logs! --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6e1123d..8901021 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -57,7 +57,7 @@ extends: displayName: 'Upload logs to drop' targetPath: '$(Build.ArtifactStagingDirectory)\logs' artifactName: logs - condition: succeededOrFailed() + condition: always() steps: - task: MicroBuildSigningPlugin@1 inputs: @@ -102,6 +102,7 @@ extends: - task: CopyFiles@2 displayName: 'Copy logs to drop' + condition: always() inputs: Contents: '**\*.*log' TargetFolder: '$(Build.ArtifactStagingDirectory)\logs'