parameters:
- name: array
type: object
default:
- nestedArray:
- nestedArrayObject: foo
- nestedArrayObject: bar
- name: otherArray
type: object
default:
- bar
- baz
jobs:
- ${{ each item in parameters.array }}:
- ${{ each nestedItem in coalesce(item.nestedArray, parameters.otherArray) }}:
- job: baz
yielding error:
If coalesce operator is removed, pipeline works as expected (fails due to not unique job names). Also if nested array consist of simple types, there will be no type conversion issues.
Please fix this behavior cause it is not obvious why such a construct would not work.
Following pipeline won't run
yielding error:
If coalesce operator is removed, pipeline works as expected (fails due to not unique job names). Also if nested array consist of simple types, there will be no type conversion issues.
Please fix this behavior cause it is not obvious why such a construct would not work.