Is it possible in the azure pipeline to pass a multi-line parameter?
If type
is a string
, you can't even write with a newline.
If on the other hand the type
is object
, you can enter multi-line, but all EOLs in the variable will be removed.
parameters:
- name: Multiline
type: object
If I save the parameter to a text file, the result is one-line
- bash: |
echo ${{ parameters.Multiline }} >> script.txt
cat script.txt