Skip to content

Commit 3b61432

Browse files
Switch to using pipeline resource (#14877)
1 parent 772c0df commit 3b61432

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

eng/pipelines/aggregate-reports.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
resources:
2+
pipelines:
3+
- pipeline: net-core
4+
project: internal
5+
source: net - core
6+
branch: master
7+
tags:
8+
- scheduled
9+
110
trigger: none
211

312
pr:
@@ -18,29 +27,20 @@ jobs:
1827
vmImage: 'windows-2019'
1928

2029
steps:
21-
- task: UseDotNet@2
22-
displayName: 'Use .NET Core sdk $(DotNetCoreSDKVersion)'
23-
inputs:
24-
version: '$(DotNetCoreSDKVersion)'
30+
- download: net-core
31+
artifact: packages
32+
patterns: '*'
2533

2634
- template: /eng/common/pipelines/templates/steps/verify-links.yml
2735
parameters:
2836
Directory: ""
2937

30-
- pwsh: mkdir '$(System.ArtifactsDirectory)/BuildArtifacts'
38+
- pwsh: |
39+
mkdir "$(System.ArtifactsDirectory)/BuildArtifacts"
40+
ls "$(PIPELINE.WORKSPACE)/net-core/packages"
41+
Copy-Item -Path "$(PIPELINE.WORKSPACE)/net-core/packages/*" -Destination "$(System.ArtifactsDirectory)/BuildArtifacts"
3142
displayName: Create Artifact Directory
3243
33-
- task: DownloadPipelineArtifact@2
34-
displayName: 'Download Pipeline Artifact'
35-
inputs:
36-
buildType: specific
37-
project: $(TargetPipelineProjectId)
38-
definition: $(TargetPipelineDefinition)
39-
buildVersionToDownload: latestFromBranch
40-
branchName: $(TargetPipelineBranch)
41-
tags: scheduled
42-
artifactName: packages
43-
targetPath: '$(System.ArtifactsDirectory)/BuildArtifacts'
4444
4545
- pwsh: |
4646
mkdir '$(System.ArtifactsDirectory)/Packages'

0 commit comments

Comments
 (0)