Skip to content

Commit

Permalink
Switch to using pipeline resource
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu committed Sep 3, 2020
1 parent 69cf78f commit 465a557
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions eng/pipelines/aggregate-reports.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
resources:
pipelines:
- pipeline: net-core
project: internal
source: net - core
branch: master
tags:
- scheduled

trigger: none

pr:
Expand All @@ -18,29 +27,20 @@ jobs:
vmImage: 'windows-2019'

steps:
- task: UseDotNet@2
displayName: 'Use .NET Core sdk $(DotNetCoreSDKVersion)'
inputs:
version: '$(DotNetCoreSDKVersion)'
- download: net-core
artifact: packages
patterns: '*'

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

- pwsh: mkdir '$(System.ArtifactsDirectory)/BuildArtifacts'
- pwsh: |
mkdir "$(System.ArtifactsDirectory)/BuildArtifacts"
ls "$(PIPELINE.WORKSPACE)/net-core/packages"
Copy-Item -Path "$(PIPELINE.WORKSPACE)/net-core/packages/*" -Destination "$(System.ArtifactsDirectory)/BuildArtifacts"
displayName: Create Artifact Directory
- task: DownloadPipelineArtifact@2
displayName: 'Download Pipeline Artifact'
inputs:
buildType: specific
project: $(TargetPipelineProjectId)
definition: $(TargetPipelineDefinition)
buildVersionToDownload: latestFromBranch
branchName: $(TargetPipelineBranch)
tags: scheduled
artifactName: packages
targetPath: '$(System.ArtifactsDirectory)/BuildArtifacts'
- pwsh: |
mkdir '$(System.ArtifactsDirectory)/Packages'
Expand Down

0 comments on commit 465a557

Please sign in to comment.