From e0e812e2a9b8dd31c6f41081aa152a1c4d5203b2 Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Sun, 23 Jun 2019 20:55:10 +0300 Subject: Move publishing install.log earlier Sometimes the installation fails and the log file is not published because the arhive step fails. --- azure-pipelines.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6bed068..7d14e88 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -143,6 +143,11 @@ jobs: - powershell: .\download.ps1 displayName: 'Run the build' + - task: PublishPipelineArtifact@0 + inputs: + targetPath: 'install.log' + artifactName: '$(PYVERSION)-$(PYARCH)-install.log' + - task: ArchiveFiles@2 inputs: rootFolderOrFile: 'Python-$(PYVERSION)-$(PYARCH)' @@ -154,11 +159,6 @@ jobs: targetPath: '$(Build.ArtifactStagingDirectory)/Python-$(PYVERSION)-$(PYARCH).zip' artifactName: '$(PYVERSION)-$(PYARCH)' - - task: PublishPipelineArtifact@0 - inputs: - targetPath: 'install.log' - artifactName: '$(PYVERSION)-$(PYARCH)-install.log' - - job: release dependsOn: build condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) -- cgit v1.2.3