| 1 | - project: |
| 2 | name: test_template_variable_defaults |
| 3 | num: |
| 4 | - 1 |
| 5 | - 2 |
| 6 | jobs: |
| 7 | - 'template_variable_defaults': |
| 8 | test_var: Goodbye World |
| 9 | |
| 10 | - job-template: |
| 11 | name: 'template_variable_defaults_{num}{type|_debug}' |
| 12 | id: template_variable_defaults |
| 13 | disabled: '{obj:disabled_var|}' |
| 14 | builders: |
| 15 | - shell: | |
| 16 | echo "Variable: {test_var|Hello World}" |
| 17 | echo "Allow empty Variable: {test_var|}" |
| 18 | echo "show that we expand for num: {num}" |