--- # [샘플] 반복 (foreach) # iterator: List 또는 Map # setValue: 현재 값 저장 태그 # setKey: Map 순회 시 key 저장 태그 (optional) property: workspace: /path/to/project platforms: - ios - android envMap: dev: https://dev.example.com prod: https://prod.example.com pipeline: id: main workflow: # List 순회 - foreach: iterator: setValue: <@property.platform> on-do: - exe: print-platform # Map 순회 (key + value) - foreach: iterator: setKey: <@property.envName> setValue: <@property.envUrl> on-do: - exe: print-env # 중첩 foreach - foreach: iterator: setValue: <@property.platform> on-do: - foreach: iterator: setKey: <@property.envName> setValue: <@property.envUrl> on-do: - exe: print-matrix commands: - command: Print id: print-platform param: message: "플랫폼: " - command: Print id: print-env param: message: "환경: " - command: Print id: print-matrix param: message: " / : "