493 questions
Hello,
Welcome to Microsoft Q&A,
You can use resources: pipelines
to Consume It
You need to declare a pipeline resource that references first Pipeline:
resources:
pipelines:
- pipeline: pipelineA # alias you’ll use in this pipeline
source: 'Your-Pipeline-A-Name'
project: 'YourProjectName' # optional if same project
trigger:
branches:
include:
- main # or the branch you build on
artifact: drop # name of the artifact to use
stages:
- stage: UseArtifact
jobs:
- job: DownloadAndUse
steps:
- download: pipelineA
artifact: drop
- script: |
echo "Listing files from artifact"
dir $(Pipeline.Workspace)/drop
Please Upvote and Accept the answer if it helps!!