Skip to content

Commit e2242d3

Browse files
authored
Correct specification of itemPattern (#2136)
1 parent 3bf9202 commit e2242d3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.vsts.pipelines/stages/prepare-artifacts.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ stages:
4747
downloadType: single
4848
artifactName: ${{ coalesce(gather.artifactName, format('Tarball {0}', gather.job)) }}
4949
downloadPath: $(nonportableSourceBuiltStageDir)
50-
itemPattern: /*/Private.SourceBuilt.Artifacts.*.tar.gz
50+
itemPattern: |
51+
**/Private.SourceBuilt.Artifacts.*.tar.gz
5152
allowPartiallySucceededBuilds: true
5253

5354
- task: DownloadBuildArtifacts@0
@@ -57,7 +58,8 @@ stages:
5758
downloadType: single
5859
artifactName: 'Tarball ${{ parameters.gatherPortableJob }}'
5960
downloadPath: $(portableSourceBuiltStageDir)
60-
itemPattern: /*/Private.SourceBuilt.Artifacts.*.tar.gz
61+
itemPattern: |
62+
**/Private.SourceBuilt.Artifacts.*.tar.gz
6163
allowPartiallySucceededBuilds: true
6264

6365
- script: |

0 commit comments

Comments
 (0)