Skip to content

Commit

Permalink
Add artifacts_binary and artifacts_other parameters to Jobs/PrGate.yml (
Browse files Browse the repository at this point in the history
#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 <[email protected]>
  • Loading branch information
MarcChen46 and apop5 authored Jan 16, 2025
1 parent e92a402 commit bddcdfb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Jobs/PrGate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ parameters:
displayName: Variable name that hosts pool name to be used for self-hosted agents
type: string
default: ''
- name: artifacts_binary
displayName: Binary Artifacts to Publish
type: string
default: ''
- name: artifacts_other
displayName: Other Artifacts to Publish
type: string
default: ''
- name: os_type
displayName: OS type on the self-hosted agent pools
type: string
Expand Down Expand Up @@ -158,6 +166,8 @@ jobs:
- template: ../Steps/PrGate.yml
parameters:
artifacts_identifier: '${{ item.Key }} ${{ item.Value.Targets }}'
artifacts_binary: ${{ parameters.artifacts_binary }}
artifacts_other: ${{ parameters.artifacts_other }}
build_file: ${{ parameters.build_file }}
build_pkgs: ${{ item.Value.Pkgs }}
build_targets: ${{ item.Value.Targets }}
Expand Down

0 comments on commit bddcdfb

Please sign in to comment.