Skip to content

Commit bddcdfb

Browse files
MarcChen46apop5
andauthored
Add artifacts_binary and artifacts_other parameters to Jobs/PrGate.yml (#392)
Add artifacts_binary and artifacts_other parameters to Jobs/PrGate.yml to let consumer able to customize the binary and other path for publishing content to pipeline artifact Co-authored-by: Aaron <aaronpop@microsoft.com>
1 parent e92a402 commit bddcdfb

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Jobs/PrGate.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ parameters:
8686
displayName: Variable name that hosts pool name to be used for self-hosted agents
8787
type: string
8888
default: ''
89+
- name: artifacts_binary
90+
displayName: Binary Artifacts to Publish
91+
type: string
92+
default: ''
93+
- name: artifacts_other
94+
displayName: Other Artifacts to Publish
95+
type: string
96+
default: ''
8997
- name: os_type
9098
displayName: OS type on the self-hosted agent pools
9199
type: string
@@ -158,6 +166,8 @@ jobs:
158166
- template: ../Steps/PrGate.yml
159167
parameters:
160168
artifacts_identifier: '${{ item.Key }} ${{ item.Value.Targets }}'
169+
artifacts_binary: ${{ parameters.artifacts_binary }}
170+
artifacts_other: ${{ parameters.artifacts_other }}
161171
build_file: ${{ parameters.build_file }}
162172
build_pkgs: ${{ item.Value.Pkgs }}
163173
build_targets: ${{ item.Value.Targets }}

0 commit comments

Comments
 (0)