6b92807cd7
Rename fixtures directory to job_fixtures to prepare for adding view_fixtures directory in the following commits. Change-Id: Ic20997cae020b542ddc22bf444fa6b92fbcae064
29 lines
639 B
YAML
29 lines
639 B
YAML
- job-template:
|
|
name: 'test-job-template-{variant}'
|
|
builders:
|
|
- shell:
|
|
echo "{repos}"
|
|
|
|
- project:
|
|
name: test-project
|
|
repos_common:
|
|
- repo-1
|
|
- repo-2
|
|
jobs:
|
|
- 'test-job-template-{variant}':
|
|
variant: 'a'
|
|
repos: !j2-yaml: |
|
|
{% for repo in repos_common %}
|
|
- {{ repo }}
|
|
{% endfor %}
|
|
- repo-a1
|
|
- repo-a2
|
|
- 'test-job-template-{variant}':
|
|
variant: 'b'
|
|
repos: !j2-yaml: |
|
|
{% for repo in repos_common %}
|
|
- {{ repo }}
|
|
{% endfor %}
|
|
- repo-b1
|
|
- repo-b2
|