Bläddra i källkod

Small attempts at making previous build downloads work.

Erwin de Haan 6 år sedan
förälder
incheckning
268fe5efe8
1 ändrade filer med 4 tillägg och 9 borttagningar
  1. 4 9
      .ci/azure-pipelines.yml

+ 4 - 9
.ci/azure-pipelines.yml

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