Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions eng/pipelines/templates/download-artifact-step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ parameters:

steps:
# Download artifact
- task: DownloadBuildArtifacts@0
- task: DownloadPipelineArtifact@2
displayName: 'Download ${{ parameters.displayName }}'
inputs:
buildType: current
downloadType: single
downloadPath: '$(Build.SourcesDirectory)/__download__'
artifactName: '${{ parameters.artifactName }}'
checkDownloadedFiles: true
targetPath: '$(Build.SourcesDirectory)/__download__/${{ parameters.artifactName }}'

# Unzip artifact
- task: ExtractFiles@1
Expand Down
9 changes: 4 additions & 5 deletions eng/pipelines/templates/download-specific-artifact-step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,17 @@ parameters:

steps:
# Download artifact
- task: DownloadBuildArtifacts@0
- task: DownloadPipelineArtifact@2
displayName: 'Download specific ${{ parameters.displayName }}'
inputs:
buildType: specific
project: ${{ parameters.project }}
pipeline: ${{ parameters.pipeline }}
definition: ${{ parameters.pipeline }}
buildVersionToDownload: specific
branchName: ${{ parameters.branchName }}
buildId: ${{ parameters.buildId }}
downloadType: single
downloadPath: '$(Build.SourcesDirectory)/__download__'
pipelineId: ${{ parameters.buildId }}
artifactName: '${{ parameters.artifactName }}'
targetPath: '$(Build.SourcesDirectory)/__download__/${{ parameters.artifactName }}'

# Unzip artifact
- task: ExtractFiles@1
Expand Down