From 4740b1c146d150a866af45b8fbe635eec3a2664e Mon Sep 17 00:00:00 2001 From: Daniel Plaisted Date: Sat, 18 May 2019 21:59:29 -0700 Subject: [PATCH] Always gather logs --- eng/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/build.yml b/eng/build.yml index c47ccad98..b1b7bc9fa 100644 --- a/eng/build.yml +++ b/eng/build.yml @@ -128,7 +128,7 @@ phases: TestResults/$(_BuildConfig)/**/* TargetFolder: '$(Build.ArtifactStagingDirectory)' continueOnError: true - condition: not(succeeded()) + condition: always() - task: PublishBuildArtifacts@1 displayName: Publish Logs to VSTS @@ -137,4 +137,4 @@ phases: ArtifactName: '$(_AgentOSName)_$(Agent.JobName)_$(Build.BuildNumber)' publishLocation: Container continueOnError: true - condition: not(succeeded()) + condition: always()