Skip to content

Instantly share code, notes, and snippets.

@kita-atsushi
Created February 1, 2020 13:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kita-atsushi/99657eaa83b4158df418c3869e48f8e3 to your computer and use it in GitHub Desktop.
Save kita-atsushi/99657eaa83b4158df418c3869e48f8e3 to your computer and use it in GitHub Desktop.
azurepipeline_loop_task.yml
### ci.yml
jobs:
- template: ./my-template.yml
### my-template.yml
parameters:
replaceParams:
- "aaa"
- "bbb"
- "ccc"
jobs:
- job:
displayName: test job
pool:
vmImage: ubuntu-18.04
steps:
- ${{ each param in parameters.replaceParams }}:
- script: echo hi ${{ param }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment