Small attempts at making previous build downloads work.

This commit is contained in:
Erwin de Haan 2019-07-05 11:11:46 +02:00
parent 0e0c70f782
commit 268fe5efe8

View File

@ -122,19 +122,14 @@ jobs:
displayName: Download the Reference Assembly Build Artifact displayName: Download the Reference Assembly Build Artifact
inputs: inputs:
buildType: 'specific' # Options: current, specific buildType: 'specific' # Options: current, specific
project: $(System.TeamProjectId) # Required when buildType == Specific project: '$(System.TeamProjectId)' # Required when buildType == Specific
pipeline: $(System.DefinitionId) # Required when buildType == Specific, not sure if this will take a name too pipeline: '$(System.DefinitionId)' # Required when buildType == Specific, not sure if this will take a name too
#specificBuildWithTriggering: false # Optional #specificBuildWithTriggering: false # Optional
buildVersionToDownload: 'latestFromBranch' # Required when buildType == Specific# Options: latest, latestFromBranch, specific buildVersionToDownload: 'latestFromBranch' # Required when buildType == Specific# Options: latest, latestFromBranch, specific
allowPartiallySucceededBuilds: false # Optional branchName: 'refs/heads/$(System.PullRequest.TargetBranch)' # Required when buildType == Specific && BuildVersionToDownload == LatestFromBranch
branchName: '$(System.PullRequest.TargetBranch)' # Required when buildType == Specific && BuildVersionToDownload == LatestFromBranch
#buildId: # Required when buildType == Specific && BuildVersionToDownload == Specific
#tags: # Optional
downloadType: 'single' # Options: single, specific downloadType: 'single' # Options: single, specific
artifactName: '$(NugetPackageName)'# Required when downloadType == Single artifactName: '$(NugetPackageName)' # Required when downloadType == Single
#itemPattern: '**' # Optional
downloadPath: '$(System.ArtifactsDirectory)/current-artifacts' downloadPath: '$(System.ArtifactsDirectory)/current-artifacts'
#parallelizationLimit: '8' # Optional
- task: CopyFiles@2 - task: CopyFiles@2
displayName: Copy Nuget Assembly to current-release folder displayName: Copy Nuget Assembly to current-release folder