Skip to content

Commit 1e7b296

Browse files
committed
fix download pipeline artifact
1 parent 06caf7e commit 1e7b296

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

eng/pipelines/dummy-release-pipeline.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ jobs:
1212
# Strategy matrix to build all combinations
1313

1414
steps:
15-
- script: |
16-
# Check what PDB files are available in the artifact staging directory
17-
echo "Contents of the $(Build.ArtifactStagingDirectory) directory:"
18-
dir "$(Build.ArtifactStagingDirectory)\all-pdbs"
19-
displayName: 'List contents of all-pdbs directory'
15+
- task: DownloadPipelineArtifact@2
16+
inputs:
17+
buildType: 'specific'
18+
project: '$(System.TeamProject)'
19+
definition: 2162
20+
buildVersionToDownload: 'latest'
21+
artifactName: 'mssql-python-symbols'
22+
targetPath: '$(Build.ArtifactStagingDirectory)\all-pdbs'
23+
displayName: 'Download PDB files artifact from latest successful run'
2024

2125
- powershell: 'Write-Host "##vso[task.setvariable variable=ArtifactServices.Symbol.AccountName;]mssql-python"'
2226
displayName: 'Update Symbol.AccountName with mssql-python'

0 commit comments

Comments
 (0)