From bddcdfbbe766ef905869b811ba61f3e73191e8bd Mon Sep 17 00:00:00 2001 From: Marc Chen Date: Thu, 16 Jan 2025 09:08:10 -0800 Subject: [PATCH] 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 --- Jobs/PrGate.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Jobs/PrGate.yml b/Jobs/PrGate.yml index 35c2e4e5..2d94f09a 100644 --- a/Jobs/PrGate.yml +++ b/Jobs/PrGate.yml @@ -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 @@ -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 }}