Michal Ptacek | b1d1626 | 2019-03-15 14:05:49 +0000 | [diff] [blame^] | 1 | --- |
| 2 | - job-template: |
| 3 | name: '{project-name}-{stream}-yaml-lint' |
| 4 | node: '{build-node}' |
| 5 | type: freestyle |
| 6 | build_script: '' |
| 7 | pattern: '**' |
| 8 | |
| 9 | parameters: |
| 10 | - lf-infra-parameters: |
| 11 | branch: '{branch}' |
| 12 | project: 'oom/{project-name}' |
| 13 | stream: '{stream}' |
| 14 | lftools-version: '{lftools-version}' |
| 15 | |
| 16 | scm: |
| 17 | - gerrit-trigger-scm: |
| 18 | refspec: '$GERRIT_REFSPEC' |
| 19 | submodule-recursive: '{submodule-recursive}' |
| 20 | choosing-strategy: 'gerrit' |
| 21 | |
| 22 | triggers: |
| 23 | - gerrit-trigger-patch-submitted: |
| 24 | server: '{server-name}' |
| 25 | project: 'oom/{project-name}' |
| 26 | branch: '{branch}' |
| 27 | files: '{obj:pattern}' |
| 28 | |
| 29 | builders: |
| 30 | - shell: '{obj:build_script}' |
| 31 | |
| 32 | publishers: |
| 33 | - lf-infra-publish |
| 34 | |