2 ########################
3 # Job configuration to validate jinja2 files
4 ########################
7 name: validate-pdf-templates
12 - 'validate-pdf-jinja2-templates-{stream}'
19 branch: 'stable/{stream}'
22 branch: 'stable/{stream}'
25 ########################
27 ########################
30 name: 'validate-pdf-jinja2-templates-{stream}'
32 disabled: '{obj:disabled}'
38 project: $GERRIT_PROJECT
42 description: Slave to execute jnija template test
45 allowed-multiselect: true
46 ignore-offline-nodes: true
53 server-name: 'gerrit.opnfv.org'
55 - patchset-created-event:
56 exclude-drafts: 'false'
57 exclude-trivial-rebase: 'false'
58 exclude-no-code-change: 'false'
59 - draft-published-event
60 - comment-added-contains-event:
61 comment-contains-value: 'recheck'
62 - comment-added-contains-event:
63 comment-contains-value: 'reverify'
65 - project-compare-type: 'REG_EXP'
66 project-pattern: '{project}'
68 - branch-compare-type: 'ANT'
69 branch-pattern: '**/{branch}'
74 pattern: 'config/utils/*.py'
76 pattern: 'config/installers/**/*.j2'
93 $WORKSPACE/config/utils/check-jinja2.sh
95 name: check-pdf-schema
98 $WORKSPACE/config/utils/check-schema.sh