-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathazure-pipelines-29.yml
39 lines (36 loc) · 1.08 KB
/
azure-pipelines-29.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# https://stackoverflow.com/questions/64711236/running-a-yaml-build-pipeline-manually-with-artifacts-selected-from-resources-in
trigger: none
pr: none
name: pipelineB
resources:
pipelines:
- pipeline: hadar
source: kmadof.hadar
branch: master
trigger:
branches:
- master
steps:
- script: env | sort
- task: DownloadBuildArtifacts@0
inputs:
buildType: 'specific'
project: '4fa6b279-3db9-4cb0-aab8-e06c2ad550b2'
pipeline: '72'
branchName: 'refs/heads/master'
buildVersionToDownload: 'specific'
downloadType: 'single'
downloadPath: '$(Pipeline.Workspace)/build'
artifactName: 'drop'
buildId: '$(resources.pipeline.hadar.runID)'
- task: DownloadPipelineArtifact@2
inputs:
buildType: 'specific'
project: '4fa6b279-3db9-4cb0-aab8-e06c2ad550b2'
definition: '72'
specificBuildWithTriggering: true
buildVersionToDownload: 'specific'
pipelineId: '$(resources.pipeline.hadar.runID)'
artifactName: 'drop'
targetPath: '$(Pipeline.Workspace)/pipeline'
- download: hadar