NingSun | fd33dba | 2018-03-08 16:11:39 -0800 | [diff] [blame] | 1 | --- |
| 2 | # vim: sw=2 ts=2 sts=2 et : |
| 3 | |
| 4 | - job-template: |
| 5 | # |
| 6 | # job template for build C/C++ project |
| 7 | # |
| 8 | # Required Variables: |
| 9 | # script: build script to execute |
| 10 | # |
| 11 | |
| 12 | name: '{project-name}-{stream}-verify-c' |
| 13 | project-type: freestyle |
| 14 | node: '{build-node}' |
| 15 | |
| 16 | properties: |
| 17 | - infra-properties: |
| 18 | build-days-to-keep: '{build-days-to-keep}' |
| 19 | |
| 20 | parameters: |
| 21 | - infra-parameters: |
| 22 | project: '{project}' |
| 23 | branch: '{branch}' |
| 24 | refspec: 'refs/heads/{branch}' |
| 25 | artifacts: '{archive-artifacts}' |
| 26 | - maven-exec: |
| 27 | maven-version: '{maven-version}' |
| 28 | |
| 29 | scm: |
| 30 | - gerrit-trigger-scm: |
NingSun | b9e870f | 2018-03-12 19:07:29 -0700 | [diff] [blame] | 31 | refspec: '$GERRIT_REFSPEC' |
NingSun | fd33dba | 2018-03-08 16:11:39 -0800 | [diff] [blame] | 32 | choosing-strategy: 'gerrit' |
| 33 | submodule-recursive: '{submodule-recursive}' |
| 34 | |
| 35 | wrappers: |
| 36 | - infra-wrappers: |
| 37 | build-timeout: '{build-timeout}' |
| 38 | |
| 39 | triggers: |
| 40 | - gerrit-trigger-patch-submitted: |
| 41 | server: '{server-name}' |
| 42 | project: '{project}' |
| 43 | branch: '{branch}' |
| 44 | files: '**' |
| 45 | |
| 46 | builders: |
| 47 | - shell: '{script}' |
| 48 | |
| 49 | publishers: |
| 50 | - infra-shiplogs: |
| 51 | maven-version: '{maven-version}' |