Pipeline Alias

Microsoft

Hello,

 

I have a DevOps pipeline in which I need to download an artifact produced by another pipeline.

I want to use something like this:  

 

- task: DownloadPipelineArtifact@2
    displayName: Download Pipeline Artifacts
    inputs:
      source: 'specific'
      project: '$(resources.pipeline.<alias>.projectID)'
      pipeline: '$(resources.pipeline.<alias>.pipelineID)'
      preferTriggeringPipeline: true
      ${{ if eq(parameters.buildPipelineId, 'latest') }}:
        buildVersionToDownload: 'latestFromBranch'
      ${{ if ne(parameters.buildPipelineId, 'latest') }}:
        buildVersionToDownload: 'specific'
        runId: '${{ parameters.buildPipelineId }}'
      runBranch: '$(Build.SourceBranch)'
      path: $(Pipeline.Workspace)/${{ parameters.artifactName }}

 

 

but I don't know which value I must insert instead of "alias". 

My source pipeline is named "1-TestPipeline" and is under the TEST folder in the DevOps Pipeline tab. 

 

Can you help me?

 

Thanks,

G

1 Reply
Hi @coccigi, have you got the answer you're looking for ?