jenkins-job-builder/tests/yamlparser/job_fixtures/default_template_variables_id_multi.yaml
Vsevolod Fedorov 6b92807cd7 Tests: Rename yamlparser tests and fixture directories
Rename fixtures directory to job_fixtures to prepare for adding view_fixtures
directory in the following commits.

Change-Id: Ic20997cae020b542ddc22bf444fa6b92fbcae064
2023-01-26 11:06:23 +03:00

19 lines
495 B
YAML

- project:
name: test_template_variable_defaults
num:
- 1
- 2
jobs:
- 'template_variable_defaults':
test_var: Goodbye World
- job-template:
name: 'template_variable_defaults_{num}{type|_debug}'
id: template_variable_defaults
disabled: '{obj:disabled_var|}'
builders:
- shell: |
echo "Variable: {test_var|Hello World}"
echo "Allow empty Variable: {test_var|}"
echo "show that we expand for num: {num}"