From 37902c1aca190c96615d61d39f1b2b1ee9fa1f9b Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Fri, 21 Jun 2019 11:53:19 +0300 Subject: First try downloading Python 2.X.Y --- azure-pipelines.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'azure-pipelines.yml') diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3ac0bc1..cd6a59f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -132,6 +132,13 @@ jobs: PYVERSION: 3.7.3 PYARCH: 64 + PY2716_32: + PYVERSION: 2.7.16 + PYARCH: 32 + PY2716_64: + PYVERSION: 2.7.16 + PYARCH: 64 + pool: vmImage: 'vs2017-win2016' -- cgit v1.2.3 From 6f83444b9d8b6eeab50582e619fcd0b69d19c886 Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Fri, 21 Jun 2019 11:58:26 +0300 Subject: Run for all branches, except release for master --- azure-pipelines.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'azure-pipelines.yml') diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cd6a59f..6bed068 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,6 +1,3 @@ -trigger: -- master - jobs: - job: build @@ -164,6 +161,7 @@ jobs: - job: release dependsOn: build + condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) pool: vmImage: 'vs2017-win2016' steps: -- cgit v1.2.3 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(-) (limited to 'azure-pipelines.yml') 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