-
-
Save kita-atsushi/99657eaa83b4158df418c3869e48f8e3 to your computer and use it in GitHub Desktop.
azurepipeline_loop_task.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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