6b92807cd7
Rename fixtures directory to job_fixtures to prepare for adding view_fixtures directory in the following commits. Change-Id: Ic20997cae020b542ddc22bf444fa6b92fbcae064
31 lines
789 B
YAML
31 lines
789 B
YAML
- project:
|
|
name: test_template_id
|
|
jobs:
|
|
- 'simple-template':
|
|
test_var: Hello World
|
|
type: periodic
|
|
num: 1
|
|
- 'not-as-simple-template':
|
|
test_var: Goodbye World
|
|
type: canary
|
|
num: 2
|
|
|
|
- job-template:
|
|
name: 'template-test-ids-{num}-{type}'
|
|
id: simple-template
|
|
builders:
|
|
- shell: |
|
|
echo "Template name: {template-name}"
|
|
echo "Job name: template-test-ids-{num}-{type}"
|
|
echo "{test_var}"
|
|
|
|
- job-template:
|
|
name: 'template-test-ids-{num}-{type}'
|
|
id: not-as-simple-template
|
|
builders:
|
|
- shell: |
|
|
echo "Template name: {template-name}"
|
|
echo "Job name: template-test-ids-{num}-{type}"
|
|
- shell: |
|
|
echo "{test_var}"
|