Hello!
I’m attempting to pre-define values of a custom pipeline variable starting from the instructions provided here:
The difference is that I want the allowed-values key to contain the names of files in a certain directory. Is it possible to define this list dynamically using a bash command? If so, can anyone provide an example of how this is done?
"TEST: Publish build manifest to UAT":
- variables:
- name: FILE
default: ""
allowed-values: [ "", echo "$( find build-manifests -type f -name '*.*' )" ]
- step:
name: "Publish build manifest to UAT"
deployment: ft-uat
Thanks in advance for any help you can provide!