From 08421311b969b517889a180c64cdebef09e8c807 Mon Sep 17 00:00:00 2001 From: Erwin de Haan Date: Fri, 5 Jul 2019 12:10:57 +0200 Subject: [PATCH] Switch download order around. --- .ci/azure-pipelines.yml | 42 ++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index 2a96bec071..3ab0aa37b0 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -121,51 +121,51 @@ jobs: - checkout: none - task: DownloadPipelineArtifact@2 - displayName: Download the Reference Assembly Build Artifact + displayName: Download the New Assembly Build Artifact inputs: - source: 'specific' # Options: current, specific + source: 'current' # Options: current, specific #preferTriggeringPipeline: false # Optional #tags: # Optional artifact: '$(NugetPackageName)' # Optional #patterns: '**' # Optional - path: '$(System.ArtifactsDirectory)/current-artifacts' - project: '$(System.TeamProjectId)' # Required when source == Specific - pipeline: '$(System.DefinitionId)' # Required when source == Specific - runVersion: 'latestFromBranch' # Required when source == Specific. Options: latest, latestFromBranch, specific - runBranch: 'refs/heads/$(System.PullRequest.TargetBranch)' # Required when source == Specific && runVersion == LatestFromBranch + path: '$(System.ArtifactsDirectory)/new-artifacts' + #project: # Required when source == Specific + #pipeline: # Required when source == Specific + runVersion: 'latest' # Required when source == Specific. Options: latest, latestFromBranch, specific + #runBranch: 'refs/heads/master' # Required when source == Specific && runVersion == LatestFromBranch #runId: # Required when source == Specific && runVersion == Specific - task: CopyFiles@2 - displayName: Copy Nuget Assembly to current-release folder + displayName: Copy Artifact Assembly to new-release folder inputs: - sourceFolder: $(System.ArtifactsDirectory)/current-artifacts # Optional + sourceFolder: $(System.ArtifactsDirectory)/new-artifacts # Optional contents: '**/*.dll' - targetFolder: $(System.ArtifactsDirectory)/current-release + targetFolder: $(System.ArtifactsDirectory)/new-release cleanTargetFolder: true # Optional overWrite: true # Optional - flattenFolders: true # Optional + flattenFolders: true # Optional - task: DownloadPipelineArtifact@2 - displayName: Download the New Assembly Build Artifact + displayName: Download the Reference Assembly Build Artifact inputs: - source: 'current' # Options: current, specific + source: 'specific' # Options: current, specific #preferTriggeringPipeline: false # Optional #tags: # Optional artifact: '$(NugetPackageName)' # Optional #patterns: '**' # Optional - path: '$(System.ArtifactsDirectory)/new-artifacts' - #project: # Required when source == Specific - #pipeline: # Required when source == Specific - runVersion: 'latest' # Required when source == Specific. Options: latest, latestFromBranch, specific - #runBranch: 'refs/heads/master' # Required when source == Specific && runVersion == LatestFromBranch + path: '$(System.ArtifactsDirectory)/current-artifacts' + project: '$(System.TeamProjectId)' # Required when source == Specific + pipeline: '$(System.DefinitionId)' # Required when source == Specific + runVersion: 'latestFromBranch' # Required when source == Specific. Options: latest, latestFromBranch, specific + runBranch: 'refs/heads/$(System.PullRequest.TargetBranch)' # Required when source == Specific && runVersion == LatestFromBranch #runId: # Required when source == Specific && runVersion == Specific - task: CopyFiles@2 - displayName: Copy Artifact Assembly to new-release folder + displayName: Copy Nuget Assembly to current-release folder inputs: - sourceFolder: $(System.ArtifactsDirectory)/new-artifacts # Optional + sourceFolder: $(System.ArtifactsDirectory)/current-artifacts # Optional contents: '**/*.dll' - targetFolder: $(System.ArtifactsDirectory)/new-release + targetFolder: $(System.ArtifactsDirectory)/current-release cleanTargetFolder: true # Optional overWrite: true # Optional flattenFolders: true # Optional