We are using azure devops server 2022 and self hosted agents. When we try to run the pipeline
Version : Azure Devops Server 2022.0.1
we are getting the below error
Encountered errors while parsing YAML: /test.yml : unrecognized value: split.
Code:
Trigger: none
Pool:
Name: testpool
variables:
- group: "DevInstanceList"
- name: InstancesList
value: Instance1,Instance2
steps:
- ${{ each env in split(variables.InstancesList, ',')}}:
- script: echo ${{ env }}