aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2019-06-23 20:55:10 +0300
committerOskari Timperi <oskari.timperi@iki.fi>2019-06-23 20:55:10 +0300
commite0e812e2a9b8dd31c6f41081aa152a1c4d5203b2 (patch)
treec3d8ce4da9b36185f14d150175e57a567d961490
parent0d4c1ef987ce39ec28182272efcd205eefba1d14 (diff)
downloadportablepython-e0e812e2a9b8dd31c6f41081aa152a1c4d5203b2.tar.gz
portablepython-e0e812e2a9b8dd31c6f41081aa152a1c4d5203b2.zip
Move publishing install.log earlier
Sometimes the installation fails and the log file is not published because the arhive step fails.
-rw-r--r--azure-pipelines.yml10
1 files 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'))