From be4dd4026935221cb9a77c27e682065505e659c3 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Thu, 2 Apr 2020 19:55:32 -0400 Subject: [PATCH] ci: Publish result images as Azure artifacts. --- azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ccd1f407356e..336ceec7820e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -120,3 +120,7 @@ steps: testResultsFiles: '**/test-results.xml' testRunTitle: 'Python $(python.version)' condition: succeededOrFailed() + +- publish: $(System.DefaultWorkingDirectory)/result_images + artifact: $(Agent.JobName)-result_images + condition: and(failed(), ne(variables['python.version'], 'Pre'))