| 1 | # the purpose of this test is to check if the piece of YAML generated by |
| 2 | # !j2-yaml is deep-formatted properly; if not then double quotes introduced by |
| 3 | # !include-raw-verbatim: would be left untouched and passed down to the output XML |
| 4 | # file, which would simply be wrong... |
| 5 | |
| 6 | - job-template: |
| 7 | name: 'test-job-template' |
| 8 | publishers: !j2-yaml: | |
| 9 | - groovy-postbuild: |
| 10 | script: !include-raw-verbatim: ./jinja-yaml03.groovy |
| 11 | |
| 12 | - project: |
| 13 | name: test-project |
| 14 | jobs: |
| 15 | - 'test-job-template' |