2 ########################
3 # Job configuration to validate jinja2 files
4 ########################
7 name: validate-templates
12 - 'validate-jinja2-templates-{stream}'
19 branch: 'stable/{stream}'
22 ########################
24 ########################
27 name: 'validate-jinja2-templates-{stream}'
29 disabled: '{obj:disabled}'
35 project: $GERRIT_PROJECT
39 description: Slave to execute jnija template test
42 allowed-multiselect: true
43 ignore-offline-nodes: true
50 server-name: 'gerrit.opnfv.org'
52 - patchset-created-event:
53 exclude-drafts: 'false'
54 exclude-trivial-rebase: 'false'
55 exclude-no-code-change: 'false'
56 - draft-published-event
57 - comment-added-contains-event:
58 comment-contains-value: 'recheck'
59 - comment-added-contains-event:
60 comment-contains-value: 'reverify'
62 - project-compare-type: 'REG_EXP'
63 project-pattern: '{project}'
65 - branch-compare-type: 'ANT'
66 branch-pattern: '**/{branch}'
71 pattern: 'check-jinja2.sh'
85 $WORKSPACE/check-jinja2.sh